Posted by Joseph Melnick on 09/18/05 04:11
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
Navigation:
[Reply to this message]
|