|
Posted by mark.macumber on 10/11/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?
Navigation:
[Reply to this message]
|