php-windows Digest 8 Feb 2009 01:54:03 -0000 Issue 3567
Topics (messages 29155 through 29156):
Re: Mail Function Error
29155 by: Niel Archer
29156 by: Alice Wei
Administrivia:
To subscribe to the digest, e-mail:
[email protected]
To unsubscribe from the digest, e-mail:
[email protected]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
>
> Hi,
>
> I am one of those people whose mail server is not on the local machine. It
> is on http://www.hotmail.com and the address is this email address. I
> currently constantly get this on my error log:
>
> [07-Feb-2009 06:39:15] PHP Warning: mail() [<a
> href='function.mail'>function.mail</a>]: Failed to connect to mailserver at
> "localhost" port 25, verify your "SMTP" and
> "smtp_port" setting in php.ini or use ini_set() in
> C:\apache\htdocs\Alice.Wei\projects\sbs\post.php on line 218
>
> This is what is on my php.ini:
>
> [mail function]
> ; For Win32 only.
> SMTP = localhost
You must change this to the address of a valid SMTP (email) server you
have an account on. I do not belive hotmail supports SMTP acces (at
least not when I last looked several years ago).
> smtp_port = 25
>
> ; For Win32 only.
> sendmail_from = [email protected]
>
> Could anyone please give me some pointers on what to put in my php.ini file
> to make this work?
> Thanks in advance.
>
> Alice
>
> _________________________________________________________________
> Search from any Web page with powerful protection. Get the FREE Windows Live
> Toolbar Today!
> http://get.live.com/toolbar/overview
--
Niel Archer
--- End Message ---
--- Begin Message ---
> > Hi,
> >
> > I am one of those people whose mail server is not on the local machine.
> > It is on http://www.hotmail.com and the address is this email address. I
> > currently constantly get this on my error log:
> >
> > [07-Feb-2009 06:39:15] PHP Warning: mail() [<a
> > href='function.mail'>function.mail</a>]: Failed to connect to mailserver at
> > "localhost" port 25, verify your "SMTP" and
> > "smtp_port" setting in php.ini or use ini_set() in
> > C:\apache\htdocs\Alice.Wei\projects\sbs\post.php on line 218
> >
> > This is what is on my php.ini:
> >
> > [mail function]
> > ; For Win32 only.
> > SMTP = localhost
>
> You must change this to the address of a valid SMTP (email) server you
> have an account on. I do not belive hotmail supports SMTP acces (at
> least not when I last looked several years ago).
>
> > smtp_port = 25
> >
> > ; For Win32 only.
> > sendmail_from = [email protected]
> >
Thanks for the explanation. Does this mean that this is not possible? How would
I set up my own mail server. or if you could recommend any?
Thanks for your help.
Alice
> > Could anyone please give me some pointers on what to put in my php.ini file
> > to make this work?
> > Thanks in advance.
> >
> > Alice
> >
> > _________________________________________________________________
> > Search from any Web page with powerful protection. Get the FREE Windows
> > Live Toolbar Today!
> > http://get.live.com/toolbar/overview
>
> --
> Niel Archer
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
_________________________________________________________________
Express yourself with gadgets on Windows Live Spaces
http://discoverspaces.live.com?source=hmtag1&loc=us
--- End Message ---