Re: problem in sending email from php form

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



what is ur problem? send error u got..
--- ahmed sirag <seragart4@xxxxxxxxx> wrote:

> 
> Hi, I have a problem in sending email from php form.
> 
> I use the following page to send mail
> 
> http://www.talentlogo.com/asp/send3.php
> 
> But unfortunately no thing was sent, I have attached
> the source code to you and I hope that you can help
> me.
> 
> <?php
> 
> //Check whether the submission is made
> if(isset($hidSubmit)){
> 
> //Declarate the necessary variables
> $mail_to=$txtEmailto;
> $mail_from=$txtEmailfrm;
> $mail_sub=$txtSub;
> $mail_mesg=$txtMsg;
> 
> //Check for success/failure of delivery 
>
if(mail($mail_to,$mail_sub,$mail_mesg,"From:$mail_from/r/nReply-to:$mail_from"))
> echo "<span class='textred'>E-mail has been sent
> successfully from $mail_sub to $mail_to</span>";
> else
> echo "<span class='textred'>Failed to send the
> E-mail from $mail_sub to $mail_to</span>";
> }
> ?>
> 
> <form name="frmsendmail" method="post" action=""
> onSubmit="return ValidationForm()">
>       <table width="100%"  border="0">
>         <tr>
>          <td width="33%" align="right"
> class="text">To : 
>           <td width="67%"><input name="txtEmailto"
> type="text" class="input" id="txtEmailto22"
> size="30" maxlength="100">
>         </tr>
>         <tr>
>           <td align="right" class="text">From : 
>           <td><input name="txtEmailfrm" type="text"
> class="input" id="txtEmailfrm22" size="30"
> maxlength="100">
>         </tr>
>         <tr>
>           <td align="right" class="text">Subject : 
>         <td><input name="txtSub" type="text"
> class="input" id="txtSub22" size="30"
> maxlength="100">
>         </tr>
>         <tr>
>           <td align="right"
> class="text">Mesage(body) : 
>          <td><textarea name="txtMsg" cols="50"
> rows="10" class="input" id="textarea"></textarea>
>         </tr>
>       <tr>
>           <td align="right"><input name="hidSubmit"
> type="hidden" id="hidSubmit" value="true">
>               <input name="Submit" type="submit"
> class="input" value="Send">
>           <td><input name="Submit2" type="reset"
> class="input" value="Reset">
>         </tr>         
>       </table>
>      </form>
>                 
> 
>  
> 
> 
> 
> 
> Regards
> Ahmed Sirag
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
> [Non-text portions of this message have been
> removed]
> 
> 



	

	
		
____________________________________________________
Send a rakhi to your brother, buy gifts and win attractive prizes. Log on to http://in.promos.yahoo.com/rakhi/index.html


------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hjotqim/M=362329.6886308.7839368.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1124447842/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~-> 

PHP Data object relational mapping generator - http://www.meta-language.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux