RE: [PHP] mail() not working on Win2k
| From: | Collins, Robert | Date: | Mon, 06 Jan 2003 15:20:06 +0000 |
| Subject: | RE: [PHP] mail() not working on Win2k | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-130409@lists.php.net to get a copy of this message | ||
Do you have this line in your php.ini file?
SMTP = <your mail server here> ;for
win32 only
-----Original Message-----
From: Rad Craig [mailto:rad@inductionconcepts.com]
Sent: Monday, January 06, 2003 9:22 AM
To: PHP Mailing List
Subject: [PHP] mail() not working on Win2k
I'm running under Win2k, new install of PHP(last week), I have been trying
to test the mail() function, but it doesn't seem to work. I host my own
mail server on the same machine and I know it works, has been for months,
all other mail come/goes just fine. I don't have the default SMTP server
for IIS installed since I have my own SMTP/POP3 mail server on this same
server.
I have tried it with the following:
mail("me@mydomain.com", "test message", "this is a test");
I have SMTP authentication turned off on my mail server for this testing.
It never arrives, I never get an error.
I can telnet to port 25, all works fine.
phpinfo.php reports that everything looks good, only thing i saw was that
the extension directory shows c:\php4 instead of c:\php.
I don't have any extra .dll's or anything turned on since it has built-in
support for MySQL.
Can someone PLEASE help.
================================
Rad Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php