PHP mails not working on Cpanel Server

On a cpanel server, PHP scripts can’t sent email. Incoming and outgoing emails for email users (mailbox) are working properly. To debug, loggged in to SSH as one of the cpanel user.

If SSH access is not enabled, enable SSH in WHM. Once logged in, verify sendmail works.

I get above error message. […]

Read More…