I would like to run mail() in my php, Before I worked on winxp environment and added the following to php.ini
[mail function]
; For Win32 only
SMTP = localhost
; For Win32 only
SMTP = smtp.pacific.net.hk
; For Win32 only
sendmail_from = me@localhost.com
; For Win32 only
sendmail_from = myname@abc.com
Now, I would like to run under unix/linux environment. I have added one more script to php.ini:
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = /usr/sbin/sendmail -t -i
But it doesn't work. How do I change php.ini so that mail() can work under unix/linux environment? thanks