Page 1 of 1

Please help me

Posted: Tue May 05, 2009 5:20 am
by shajuphp.nd
Mail coding Issue
I tried my php.ini file with host id address, But i mot able to send mail using my code. Please help me
I have mentioned my codes below here

Code: Select all

 
; For Win32 only.
SMTP = 172.68.1.10
smtp_port = 25
 
; For Win32 only.
sendmail_from = example@loacal.com
 

Code: Select all

 
<?php
$mail=mail("@example.com", "Testing", "Good Morning testing mail", "From:@yahoo.com");
If($mail)
    {
    echo "Mail was send";
    }
else
    {
    echo "Error in sending";
    }
?>
 
Please help me as soon as possible