Page 1 of 1

SMTP Authentication

Posted: Fri Jun 30, 2006 10:30 pm
by lterra
Hi All,

Is it posible to include an SMTP Authentication directly in PHP.INI?

I have a PHP 5.1.4, Windows 2003, IIS 6 and I'm using ArgoSoft Mail Server, with SMTP Authentication.

With this configuration it's not posible to use the function (mail), but when I disable the Authentication function in my mail server, it works.

Please find below my PHP.INI config for mail


[mail function]
; For Win32 only.
SMTP = luizterra.no-ip.info ; for Win32 only
smtp_port = 2525
sendmail_from= lterra@luizterra.no-ip.info ; for Win32 only

; For Win32 only.
;sendmail_from = me@example.com

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

; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =


Thanks a lot,
Luiz Terra