mail() problem
| From: | Vegard | Date: | Thu, 15 Mar 2001 08:04:42 +0000 |
| Subject: | mail() problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-43992@lists.php.net to get a copy of this message | ||
I have php4 and Apache running on Windows 2000, and Im not able to get the
mail-function to work. The mailsystem is on an other PC, and so I added
SMTP=<mailservers IP-address> in the php.ini file. But still I get "Failed
to connect" when I run mail().
I have heard that there can be a problem if the mailserver is separated from
the webserver and you have a firewall?
Do I have to do anything in the mailsystem? Or maybe in httpd.conf ??
Please enlighten me!
Vegard.