cannot send mail
Posted by: shijith (---.52.101.203.touchtelindia.net)
Date: October 24, 2006 07:48AM

Author: universalbitmapper (---.fbx.proxad.net)
Date: 04-04-06 10:53

Hi,

I'm trying to send an e-mail from a .php script and ie6 returns this
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 C:\wamp\www\PAMWD\chap11email\sendmail.php
on line 12


I checked php.ini (line 606):


[mail function]
; For Win32 only.
SMTP = localhost


OTOH I didn't find "smtp_port" in php.ini


Maybe I should add :80 as port in php.ini?



shijith hanan

Options: ReplyQuote


Sorry, only registered users may post in this forum.