Reply to Re: php mail not working on win98

Your name:

Reply:


Posted by Rik on 07/30/07 23:54

On Tue, 31 Jul 2007 01:44:47 +0200, Nospam <nospam@home.com> wrote:
> I am getting this error on win98:
>
> 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
>
> I have amended local smtp host in php.ini to that of my isp but getting
> the same errors I am using php 5, apache 2.0.59 and mysql 4.1, is there
> a
> solution to this php mail error in windows?

This has nothing to do with SQL, follow-up set to alt.php only.

Did you restart the server after these changes?

Also, as always, sometimes there are a lot of php.ini files around. Verify
wether you edited the right one by checking phpinfo(); for the current
settings. If it doesn't show, near the top it will show you the actual
path to the php.ini file used. If you still get the message that
connecting to the 'localhost' SMTP server (I assume you're not your own
ISP :P), the change isn't picked up.
--
Rik Wasmus

[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

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