Hi
I have a local installation of Apache + PHP on my Windows 7 machine.
When setting the SMTP directive in the php.ini file to some remote server, the php server ignores it and instead still tries to access localhost as an SMTP server.
The remote server I am trying to use does exist, and it works on my other machine, but for some reason, even after several server and computer restarts it simply ignores the value I set.
It definitely is the correct php.ini file as it show it in the phpinfo() and any other settings that I change in there are effective.
What could possibly cause this?
Thanks in advance
php.ini SMTP setting ignored
Moderator: General Moderators
-
jamesm6162
- Forum Newbie
- Posts: 13
- Joined: Sat Jun 28, 2008 10:31 am
Re: php.ini SMTP setting ignored
How you know it still tries to access localhost? Maybe it's just unable to use the remote server. Is the remote server configured to accept mail without username and password?