Forum Moderators: coopster

Message Too Old, No Replies

Am I using sendmail with PHP function mail()?

php, mail(), sendmail, function, /usr/sbin/sendmail

         

shaowei

10:00 am on Feb 21, 2005 (gmt 0)

10+ Year Member



I'm a newbie and may I know if there is any difference in the php function mail() and the linux sendmail?

I've my sendmail_path of my php.ini set to "/usr/sbin/sendmail -t -i". Does this means that I am currently using the linux sendmail? If not, how should I use the linux sendmail with php?

And by the way, wat does "-t -i" means?

Thanks, brothers

IanKelley

10:41 am on Feb 21, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Yes, the php mail() function is a wrapper for sendmail, you won't need to change anything.