Reply to Re: Mailserver error in PHP question

Your name:

Reply:


Posted by sumeet on 09/18/05 07:53

Rhonda wrote:
> I have been using a PHP form processing script that emails us submitted
> forms. It has been working great for months when suddenly users receive
> this error. We have changed nothing.
>
> Warning: mail() [function.mail]: Failed to connect to mailserver at
> "127.0.0.1" port 25, verify your "SMTP" and "smtp_port" setting in php.ini
> or use ini_set() in c:\users\sitedata\domain\web\scripts\form_proc.php on
> line 385
>
> I just needed an opinion as to what may be the cause. It looks like its an
> issue with my web hosting co's mail server possibly. Seanic.net isn't quick
> to respond to tech support requests.
>
> Any suggestions appreciated.
>
>

When it says "127.0.0.1" that means that u are trying to send mail using
your local machine NOT the ISP mail server. so hence the issue cannot be
resolved by the webhosting company.

In your php.ini in your windows diretory u will find the following settings.

[mail function]
; For Win32 only.
SMTP = mail.server.com ; for Win32 only

set the SMPT to that of your hosting company like mail.seanic.net or
something and check.

sumeet shroff

[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

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