Hi All,
I am enable to send mail to Yahoo mail through mail() function Its giving error like this
Warning: Unknown error in c:\program files\apache group\apache\htdocs\leelamail.php on line 4 unable to send the mail
My coding is:
<body> <?php $mail=mail("http://mail.leela_siva@yahoo.com","working on php","This is Leela"); if($mail) { echo "you send the mail"; } else { echo "unable to send the mail"; } ?> </body>
can you please help me?
Thank you Leela
i am almost sure u dont need the http://mail. in your mail function call....take that out and see if it works
(if u do try puting http:////mail. instead )
doss
Hi Doss, I tried many times ,but I am not successed ,the same error I am getting:
Can you please help me! Thank you, Leela
take the 'http://mail.' part out of it completely. the first value should be the e-mail address all by itself. in other words:
mail("leela_siva@yahoo.com", "working on php", "This is Leela");
is it working yet??
if not post your source =)