TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

PHP Mail

Page: 1 Reply
Apr 9th 2003#99107 Report
Member since: Apr 9th 2003
Posts: 1
why would this not work? : [PHP]
$contactname = "Daniel Wood";
$contactemail = "ugadawgs6910@aol.com";

$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: ".$Name." <".$Email.">\r\n";
$headers .= "To: ".$contactname." <".$contactemail.">\r\n";
$headers .= "Reply-To: ".$Name." <$Email>\r\n";
$headers .= "X-Priority: 1\r\n";
$headers .= "X-MSMail-Priority: High\r\n";
$headers .= "X-Mailer: Just My Server";

mail($contactemail, $Subject, $Text, $headers);

?>[/PHP]
Reply with Quote Reply
Apr 9th 2003#99147 Report
Member since: Mar 20th 2001
Posts: 3367
Where's the Subject and Text ?

Change to :

[php]

$contactname = "Daniel Wood";
$contactemail = "ugadawgs6910@aol.com";

$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: $Name <$Email>\r\n";
$headers .= "To: $contactname <$contactemai>\r\n";
$headers .= "Reply-To: $Name <$Email>\r\n";
$headers .= "X-Priority: 1\r\n";
$headers .= "X-MSMail-Priority: High\r\n";
$headers .= "X-Mailer: Just My Server";

mail($contactemail, $Subject, $Text, $headers);

?>
[/php]
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum