Re: mail function error




"Arjen" <dont@xxxxxxx> wrote in message news:eo2ro7$m07$1@xxxxxxxxxxxxxxxx
John schreef:
Im connecting thru ISP so it's not local server connection.

My PHP.INI
***********************************
[mail function]
; For Win32 only.
SMTP = mail.myDomain.com
smtp_port = 25

; For Win32 only.
sendmail_from = localhost@xxxxxxxxxx
************************************

I get error:
Warning: mail() [function.mail]: Failed to connect to mailserver at
"localhost" port 25, verify your "SMTP" and "smtp_port" setting in
php.ini
or use ini_set() in


Why is he trying to connect to localhost ?


Did you restart apache ?
*****************************************************
Yes ... but the situation is the same...


.



Relevant Pages