You are here: Re: Mailserver error in PHP question « All PHP « IT news, forums, messages
Re: Mailserver error in PHP question

Posted by Rhonda on 09/19/05 16:13

"Joseph Melnick" <jmelnick@jphp.com> wrote in message
news:4YudnUbGR44qI7HeRVn-ow@rogers.com...
> Hello Rhonda, You Wrote:
> "Rhonda" <nomailplease@yahoo.com> wrote in message
> news:BAXWe.10827$Ma.2618@fe07.lga...
> >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.
> >
> >
>
> Your provider may may of overwritten PHP.INI and not set some important
> default values.
> Look at your PHP.INI and find this line:
>
> [mail function]
>
>
> If you are hosting on Windows then PHP.INI should have these lines set:
>
> SMTP = localhost ; for Win32 only
> smtp_port = 25
> sendmail_from= administrator@yourhost.com ; for Win32 only
>
> If you are hosting on a Linux system: you will probably using sendmail and
> the line in this section should look like this
>
> sendmail_path = "sendmail -t -i"
>
> Joseph Melnick
> JM Web Consultants
> Toronto ON Canada

Thanks Joseph

So to be sure I'm clear on this, all you have described is in on the Windows
Web Server? Out of all(my) control as a user and web developer? Does the
PHP.INI normally appear in a Winows web server? Is it in the user's
directory of a web server?

I'm supposed to setup another web hosting account today using the same PHP
script and same hosting co, but now this scares me. They(Seanic.net) are
not handling this matter so well. I notified them Friday night of this
matter & just received my first reply this morning...

 

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

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