How To Mail On a Windows 2000 AS...
| From: | Idris Corap | Date: | Fri, 14 Jul 2000 08:56:46 +0000 |
| Subject: | How To Mail On a Windows 2000 AS... | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-1079@lists.php.net to get a copy of this message | ||
Hi I'm having a big problem with the mail() function.
My configuration is like this:
- Windows 2000 Advanced Server
- IIS 5.0 [with the SMTP service running]
- PHP 4.01 PL2
I've done the known things. Like:
- Edit the PHP.INI file. The SMTP line.
- Put an extra "" at the end.
Here's the code, which looks ok to me:
<?
mail("corap@hotmail.com", "Test", "It Works!","");
?>
The problem is that nothing happens. It just waits and waits. Like if it went into an infinite loop.
I've searched on several sites without no luck.
Does anyone how to fix this problem?
Cheers!
/idris
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com