You are here: [function mail() Windows XP]SMTP localhost « PHP Programming Language « IT news, forums, messages
[function mail() Windows XP]SMTP localhost

Posted by universalbitmapper on 04/04/06 10:58

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?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация