Jump to content

Archived

This topic is now archived and is closed to further replies.

phpnewb999

php mail() not working for linux machine

Recommended Posts

What would i need to change in the php.ini file to make the mail() function to work on a linux machine?  So far the windows server mail() function works fine after entering the "10.10.10.68".


[mail function]
; For Win32 only.
SMTP = 10.10.10.68

; For Win32 only.
sendmail_from =

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =

Thanks in Advance

Share this post


Link to post
Share on other sites
The SMTP option if for Windows only.

If your are using a unix based OS then you need to use the sendmail_path option instead

Share this post


Link to post
Share on other sites
Yes i understand.  The windows machine i have the smtp set to 10.10.10.68 which is the mail server and everything works fine but for the linux machine.  What would i have to set the path to? 

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.