[wplug] PHP mail() problems

Paul Oehler poehler at interworx.com
Tue Aug 12 15:08:44 EDT 2008


> I have a CentOS box that runs a few websites and just recently someone
> wanted to use php's mail() function.
>
> So I installed qmail and set it up to just send messages and not act
> as a mail server so no smtp.
>
> I can send messages from the command line and they get delivered;
> however, the php mail function fails.  I'm not seeing any thing in the
> qmail logs.  It seems like php isn't calling the qmail executable.

There's really nothing in the qmail send log at all when you try to send 
from php?  Does the php mail command return true or false?

Do you have something special set in the php.ini for the sendmail_path 
variable?  If so, try leaving it the default (just comment it out).

Paul



More information about the wplug mailing list