You are here: mail function error « All PHP « IT news, forums, messages
mail function error

Posted by John on 01/10/07 13:52

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@testme.com
************************************

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 ?

 

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

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