|
Posted by Mike Willbanks on 09/20/05 04:26
tencip:
>
> We have in our php.ini a direct path all the way to sendmail
> configured. I'm at a loss as to why PHP mail() isn't even spitting
> back an error. The maillog shows nothing from PHP.
>
> Are there any variables, extensions that need to be compiled, etc to
> make mail() work?
Did you set sendmail_from? That may be it as well. Also perform a
trace of sendmail when PHP goes to send an email.
Also note from the manual:
" For the Mail functions to be available, PHP must have access to the
sendmail binary on your system during compile time. If you use another
mail program, such as qmail or postfix, be sure to use the appropriate
sendmail wrappers that come with them. ... Also, the user that compiled
PHP must have permission to access the sendmail binary."
Try recompiling and making sure that the user you compiled under has
access to sendmail.
--
Mike Willbanks
Zend Certified Engineer
http://www.digitalstruct.com
Navigation:
[Reply to this message]
|