[function mail() Windows XP]SMTP localhost
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

[function mail() Windows XP]SMTP localhost

From: universalbitmapper <jbmorla@gmail.com>
Date: Tue Apr 04 2006 - 09:58:58 CEST

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?
Received on Mon May 1 02:47:51 2006