Fahrvergnuugen
I am the law!
How do you get sendmail to work with php? I searched this forum for topics with sendmail in them and somebody noticed that during an OSX update, the permissions for / are changed.
I followed the instructions:
chmod g-w /
/usr/sbin/sendmail -bd -q1h
I then changed my /usr/local/lib/php.ini file to use /usr/sbin/sendmail as the sendmail_path. I restared apache using the web sharing control panel and tried to send am email with a php script.
No luck. The script didn't give me any errors. I used Mail.app and changed my sendmail location to "localhost". I then sent myself an email. I recieved the email which lead me to believe that sendmail is working fine. The headers of the email says:
Received: from localhost (localhost.nycap.rr.com [127.0.0.1]) by localhost.nycap.rr.com
Any help would be greatly appreciated. Thanks.
I followed the instructions:
chmod g-w /
/usr/sbin/sendmail -bd -q1h
I then changed my /usr/local/lib/php.ini file to use /usr/sbin/sendmail as the sendmail_path. I restared apache using the web sharing control panel and tried to send am email with a php script.
No luck. The script didn't give me any errors. I used Mail.app and changed my sendmail location to "localhost". I then sent myself an email. I recieved the email which lead me to believe that sendmail is working fine. The headers of the email says:
Received: from localhost (localhost.nycap.rr.com [127.0.0.1]) by localhost.nycap.rr.com
Any help would be greatly appreciated. Thanks.