Forum Moderators: coopster

Message Too Old, No Replies

Emailing to Yahoo and Gmail

         

prog_sys

8:10 am on May 22, 2008 (gmt 0)

10+ Year Member



<?

$tsubject = "$_POST[subject]";

$ttext = "$_POST[textbody]";

@mail("$_POST[emaildest]", $tsubject, $ttext, "FROM: $_POST[email]");

?>

The script above is a PHP script I want to use for my "Tell a Friend" application. However the script can't send email to Gmail and Yahoo.

What should I change so the script can send email to both Gmail and Yahoo.

Thanks

Habtom

10:17 am on May 22, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You probably need a full header. If you search this site for the header discussions, you will find some helpful tips. There could be a few things you need to tweak till you get it right.