Using a remote SMTP server
Posted: Wed Sep 27, 2006 3:58 am
I'm disabling sendmail on one of my servers and I'd like all the PHP applications I have running on that server to use an alternative server for sending mail. I've found the following in php.ini but it appears as though specifying a remote SMTP server only works on Windows (I'm using Linux and Apache).
How can I get all my PHP allications to use a remote mail server?
Code: Select all
[mail function]
; For Win32 only.
SMTP = localhost
; For Win32 only.
sendmail_from = me@localhost.com
; For Unix only. You may supply arguments as well (default: 'sendmail -t -i').
;sendmail_path =