Mail Function Error
| From: | Alice Wei | Date: | Sat, 07 Feb 2009 11:53:02 +0000 |
| Subject: | Mail Function Error | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-29154@lists.php.net to get a copy of this 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
smtp_port = 25
; For Win32 only.
sendmail_from = ajwei@alumni.iu.edu
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