Reply to Failed to connect to mailserver

Your name:

Reply:


Posted by mark.macumber on 10/15/27 11:39

This issue is really annoying me, I dont know why its happening.

I did a PHP site for a client and it uses the php mail() function.

The site is now live and works fine. It seems that whenever a user who
is internal to the site as in, if they use the site from within the
network that the site is served. The mail function fails with:

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

(I have changed the name of the server and the file path to the php.ini
here for security reasons.)

But!! When I use the site from an external computer, like anyone else
would, it works fine. Im yet to confirm weather every email request
from an external site works ok. But I think so.

What could be the problem? Would it matter that the request to the web
server is internal or not?

[Back to original 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

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