Mr.A Wilson wrote:
To = "[EMAIL PROTECTED]";
>> $subject = "Info from Game Website.";
>>
>> $ip = $_SERVER['REMOTE_ADDR']; 
>> $name = $_GET['Name'];
>> $email = $_GET['Email'];
>> $comments = $_GET['Comments'];
>> $from = "Reply-To: " . $name . "<" . $email . ">/n"; 
>> $headers = 'Content-type: text/html; charset=iso-8859-1';
>> $comments ="\r\n\n\n" . "Sender's ip address is " . nl2br($ip);
>> mail($sendTo, $subject, $comments, $from);

20080809 2101 GMT-6

This is the std php mail example:
<?php
$to      = '[EMAIL PROTECTED]';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: [EMAIL PROTECTED]' . "\r\n" .
     'Reply-To: [EMAIL PROTECTED]' . "\r\n" .
     'X-Mailer: PHP/' . phpversion();

mail($to, $subject, $message, $headers);
?>

Try rearranging your code to fit this example.

wade

Reply via email to