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: 1048
Solved Threads: 945
Sarcastic Poster
Offline 6,672 posts
since Oct 2006