php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1568 mail() doesn't work as advertised with IIS SMTP
Submitted: 1999-06-18 19:12 UTC Modified: 1999-06-29 15:05 UTC
From: jkeklak at buildingblock dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.9 OS: Windows NT
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jkeklak at buildingblock dot com
New email:
PHP Version: OS:

 

 [1999-06-18 19:12 UTC] jkeklak at buildingblock dot com
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-20 22:00 UTC] jim at cvs dot php dot net
You need to configure the outgoing SMTP server in the
php3.ini file.
 [1999-06-29 15:05 UTC] jim at cvs dot php dot net
Fixed in CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 01 07:01:30 2024 UTC