sendmail working but PHP mail() is failing
Posted
by navilon
on Stack Overflow
See other posts from Stack Overflow
or by navilon
Published on 2010-05-12T14:45:22Z
Indexed on
2010/05/13
12:24 UTC
Read the original article
Hit count: 187
I cant seem to send an email using PHP's mail(). I have also tried PHPMailer and Swiftmail with no success. However, the following command on the server delivers mail successfully.
cat test.txt | mail -s "test mail" [email protected]
Is there a way to trace where the problem is coming from? mail() just seems to return true or false.
© Stack Overflow or respective owner