Posted by nobrow on 06/14/07 16:22
I cannot get php to send an email. This works:
$ mail -s "My Subject" nobrow@gmail.com
My Message
^D
Cc:
[enter]
But this doesnt:
<?php
mail('nobrow@gmail.com', 'My Subject', 'My Message')
or
die('shit!');
?>
I don't know where to look for error messages so I have no further
info. Anyone got a clue?
P.S.
Im using ssmtp, and php.ini contains:
sendmail_path =ssmtp
Navigation:
[Reply to this message]
|