Forum Moderators: coopster
What are the possible reasons for mail() to stop working? In the past it has been due to the mailbox being full, but it is empty at the moment.
The only thing I can think of is my ISP has broken something in PHP or sendmail, I'm out of ideas...
Where address, subject, body and headers were already defined. I did have problems sending this to friends who had filters on their email, but never just a failure of the mail function being executed...Sorry, that didn't contribute much.
--Nick
However in existing scripts that use email addresses such as gmail.com, or even my local ISP emails, the emails are not delivered. The mail function will return a boolean of true, but the mail will not get any further than that. The only solution to this problem was to replace all these emails with myname@mydomain.com, this is not an option though.
I've exhausted all the possible reasons I can think of, my hosting provider has not responded to support emails or a trouble ticket. Can someone offer any solutions?
Thanks
The mail logs are only available to root so I am unable to open them.
PHP Core
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i usr/sbin/sendmail -t -i
standard
Path to sendmail /usr/sbin/sendmail -t -i
It's not a problem with the wrong function, as mail delivers to recipients of my domain, apparently. I also tried send_mail but it's not made a defined function.