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 =Moderator: General Moderators
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 =Code: Select all
[mail function]
SMTP = smtp.isp.net
sendmail_from = me@isp.netYes that's the sort of thing I was hoping for but it appears to only work on Win32. Can anyone prove me wrong? Does the above work on Unix?Obadiah wrote:i dunno if this is what your looking for exactly but will something like this type of setup work for ya?i found it here http://email.about.com/cs/phpemailtips/qt/et021802.htmCode: Select all
[mail function] SMTP = smtp.isp.net sendmail_from = me@isp.net
This is the conclusion I've come to. A shame the SMTP directive is igored. I'm now going to have to change all my applications.d11wtq wrote:Linux ignores the SMTP directive in the ini since almost all *nix systems have sendmail installed. There are mailer libraries available such as Swift Mailer though.