fussy Posted March 20, 2007 Share Posted March 20, 2007 Is there anyway I can configure PHP email to use external mail server on Linux? I know you can do it on Windows. I did an experience. I updated php.ini showed below. However I could not receive email. myServerAddress does have SMTP mail server running. Any comments? [mail function] ; For Win32 only. ; SMTP = localhost SMTP = myServerAddress smtp_port = 25 ; For Win32 only. ;sendmail_from = [email protected] ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). sendmail_path = /usr/sbin/sendmail -t -i Link to comment https://forums.phpfreaks.com/topic/43415-how-to-configure-external-mail-server-on-linux-in-phpini/ Share on other sites More sharing options...
fussy Posted March 20, 2007 Author Share Posted March 20, 2007 I am sure some one out there must have the need to run an PHP email on an external mail server using Linux instead of local sendmail. Or am I the only one? Link to comment https://forums.phpfreaks.com/topic/43415-how-to-configure-external-mail-server-on-linux-in-phpini/#findComment-211415 Share on other sites More sharing options...
per1os Posted March 20, 2007 Share Posted March 20, 2007 smtp = send mail transfer protocol. For receiving you need to set POP settings. Link to comment https://forums.phpfreaks.com/topic/43415-how-to-configure-external-mail-server-on-linux-in-phpini/#findComment-211418 Share on other sites More sharing options...
fussy Posted March 20, 2007 Author Share Posted March 20, 2007 I don't think it is receiving problem. I can receive email if I keep sendmail service running on local Linux that runs PHP email. However I could not receive any email after I stopped sendmail service on my local Linux and set SMTP to another Linux server myServerAddress in PHP.ini. My question is can you configure PHP email on Linux to use sendmail service on other Linux server? Link to comment https://forums.phpfreaks.com/topic/43415-how-to-configure-external-mail-server-on-linux-in-phpini/#findComment-211624 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.