Forum Moderators: coopster
I don't get any errors when I submit my test.php form, but I don't get a test e-mail message either:
<?php
mail('myemail@gmail.com', 'Subject', 'Your message here.');
?>
The phpinfo.php is at <snip>
They said they set the sendmail_from but it doesn't seem to be set...would that be the problem?
Thanks!
[edited by: eelixduppy at 3:05 pm (utc) on May 20, 2008]
[edit reason] no URLs, please [/edit]
It could be a problem without a From header. You might want to try to add one manually to see if that fixes your problem:
mail('myemail@example.com', 'Subject', 'Your message here.','From: email@example.com' . "\r\n");