I’m having trouble getting mail to be sent from my PHP scripts. They use the mail() PHP function. The function executes, but no mail is ever delivered.
I am testing this on my test server, so I set the “Send outgoing mail via host” to my ISP’s smtp host (smtp.east.cox.net) in the Postfix Configuration.
This works if I send mail from ssh using the Linux mail command. Mail is delivered to the internet.
But, with PHP scripts run by Apache, the scripts appear to work but no mail every shows up. I have no idea where it is ending up.