Have you tried commenting out your original code and replacing it with a hard-coded version?
$sendmail = mail('nobody@yoursite.com', 'hello', 'hello world this is a message', 'From: webmaster@example.com' . "\r\n" .
'Reply-To: webmaster@mysite.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion());
does this work?
Reputation Points: 1041
Solved Threads: 941
Sarcastic Poster
Offline 6,661 posts
since Oct 2006