> What kind error did you get?
> Please check /var/log/maillog and send to maillist.
Hisao,
It is probably the same error with CGI scripts. The "-f xxx" is needed.
But, in PHP, you can do it globally.
#1 - Figure out where your php.ini is. The "default" is /etc/php.ini
#2 - Search for these lines
; For Unix only. You may supply arguments as well (default: "sendmail -t
-i").
Below that, add this:
sendmail_path = /usr/sbin/sendmail -t -i -f admin
the "-f admin" is needed.
#3 Then, restart httpd
service httpd restart
#4 Try your email app again.
Thanks!
Brian