phpnewb999 Posted October 24, 2006 Share Posted October 24, 2006 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 Link to comment https://forums.phpfreaks.com/topic/24978-php-mail-not-working-for-linux-machine/ Share on other sites More sharing options...
wildteen88 Posted October 25, 2006 Share Posted October 25, 2006 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 Link to comment https://forums.phpfreaks.com/topic/24978-php-mail-not-working-for-linux-machine/#findComment-114349 Share on other sites More sharing options...
phpnewb999 Posted October 25, 2006 Author Share Posted October 25, 2006 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? Link to comment https://forums.phpfreaks.com/topic/24978-php-mail-not-working-for-linux-machine/#findComment-114435 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.