Bug #1568: mail() doesn't work as advertised with IIS SMTP
| From: | jkeklak at buildingblock dot com | Date: | Fri, 18 Jun 1999 23:12:57 +0000 |
| Subject: | Bug #1568: mail() doesn't work as advertised with IIS SMTP | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-7120@lists.php.net to get a copy of this message | ||
From: jkeklak@buildingblock.com
Operating system: Windows NT
PHP version: 3.0.9
PHP Bug Type: Misbehaving function
Bug description: mail() doesn't work as advertised with IIS SMTP
PHP is fantastic! However, when we try using the mail() function with IIS4 on Windows NT 4 with the
IIS4 SMTP Mail Server, mail messages do not get sent.
Specifically:
(1) The PHP code is the same as in the sample in Leon Atkinson's book "Core PHP
Programming" pp. 115-116
$mailTo = "john@kurzweiltech.com";
$mailSubject = "test message from PHP";
$mailBody = "body of message";
$mailHeaders = "From: ken@kurzweiltech.com";
mail ( $mailTo, $mailSubject, $mailBody, $mailHeaders );
(2) PHP is installed on the NT server exactly as directed in the readme.txt; PHP scripts that
don't use the mail() function work properly
(3) The symptom is: when the above mail script is run, on the client side, the browser puts up the
arrow+hourglass cursor and waits and waits and waits... The status area reports: "Web site
found. Waiting for reply..." On the server side, you can see that we have connected with the
mail server, but no message gets sent.
(4) We have not changed the PHP3.INI file.
The question is: what have we missed in your instructions regarding IIS4 that we need to do to make
the mail function send its message?
Thank you.