chintandesai2381
New Member
- Messages
- 5
- Reaction score
- 0
- Points
- 0
Hi Support,
I am not able to send any emails from my website www.***********. I have created test page http://www.*******/testemail.php with following code. It returns "Email sent successfully" but I am not getting any emails (I have check spam as well). Same is with my contact us page. I have also set forwarders from "info@*********" to "*********@yahoo.com" which doesn't seem to be working either. Can you please help me to figure this out? Thanks a lot.
Regards,
****** ******i.
Code : http://www.**************/testemail.php
<?php
$msg = "test";
$headers = "From: info@***********u\r\n";
$headers .= "Reply-To: info@*********\r\n";
$headers .= "Content-type: text/html\r\n";
if(!(mail("*********3@yahoo.com", "From ******** website - User Query", $msg, $headers)))
echo "<li>Failed Sending Email</li>";
else
echo "Email sent successfully";
?>
I am not able to send any emails from my website www.***********. I have created test page http://www.*******/testemail.php with following code. It returns "Email sent successfully" but I am not getting any emails (I have check spam as well). Same is with my contact us page. I have also set forwarders from "info@*********" to "*********@yahoo.com" which doesn't seem to be working either. Can you please help me to figure this out? Thanks a lot.
Regards,
****** ******i.
Code : http://www.**************/testemail.php
<?php
$msg = "test";
$headers = "From: info@***********u\r\n";
$headers .= "Reply-To: info@*********\r\n";
$headers .= "Content-type: text/html\r\n";
if(!(mail("*********3@yahoo.com", "From ******** website - User Query", $msg, $headers)))
echo "<li>Failed Sending Email</li>";
else
echo "Email sent successfully";
?>
Last edited by a moderator: