php mail ()

aoimacollamain

Verified User
Joined
Jul 5, 2004
Messages
9
Location
Ireland
I am switching to Direct Admin from another control panel, but my php mail scripts aren't working. Scripts worked fine with sendmail on the old server.

This error gets generated in the /etc/httpd/logs/error_log whenever I run my script:

------------
Exim is a Mail Transfer Agent. It is normally called by Mail User Agents,
not directly from a shell command line. Options and/or arguments control
what it does when called. For a list of options, see the Exim documentation.
-------

Any ideas why this is happening?
Steve Jacobs
 
Can you show us a code snippet on how you send email from PHP?

Jeff
 
Back
Top