You are here: Re: Failed to connect to mailserver « PHP Programming Language « IT news, forums, messages
Re: Failed to connect to mailserver

Posted by nvduffer on 08/11/06 14:46

Wow the one thing I failed to check -- case sensitivity! I changed
"smtp" to "SMTP", rebooted and now all is well in my world. Thanks very
much for putting and end to my frustrations!

Alvaro G. Vicario wrote:
> *** nvduffer@gmail.com escribió/wrote (10 Aug 2006 11:57:08 -0700):
> > I am running IIS5 on my XP Pro home computer and am unable to send
> > email through my ISP's mail server. In the PHP.INI are two lines:
> >
> > smtp = smtp.telus.net
> > smtp_port = 25
> >
> > I have opened port 25 on my own computer (do I need to though?)
>
> Actually, you shouldn't ;-)
>
> > The strange thing is, the mail() function seems to be trying to connect
> > to "localhost" and not "smtp.telus.net". There is only one PHP.INI file
> > (in C:\WINDOWS) and I have run phpinfo() to confirm that this indeed is
> > the INI file being loaded. However phpinfo() states that the SMTP
> > server is "localhost" and not "smtp.telus.net".
>
> Apparently, directives are case sensitive. Try to specify SMTP in
> uppercase, as in manual and comments:
>
> SMTP = smtp.telus.net
> smtp_port = 25
>
>
>
> --
> -+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
> ++ Mi sitio sobre programación web: http://bits.demogracia.com
> +- Mi web de humor con rayos UVA: http://www.demogracia.com
> --

 

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

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