[PHP-DEV] Bug #451: Mail Hangs From: bill <email protected>
Date: 06/11/98

From: bill <email protected>
Operating system: Windows NT 4.0 Service Pack 3
PHP version: other
PHP Bug Type: Misbehaving function
Bug description:
Release Information from phpinfo();
System: Windows NT 4.0 build 1381
Build Date: Jun 6 1998

Using Microsoft SMTP Server set up on port 25.
Mail sent from PHP just hangs as an active session under the Mail Server.

Normally I'd chalk it up to Microsoft's product just not quite working right but the SMTP Server will properly send mail from all other utilities on the box and will relay mail from other machines. Only PHP causes it to hang.

SMTP Server and from address are set in the .ini file.

mail function called as follows: (this is just a test)

$to = "bill <email protected>";
$subject = "Hello";
$message = "Welcome!";
mail($to,$subject,$message,"From: bill <email protected>");

Tried it without the 4th arguement as well.
Tried it with a variety of other header arguements.

The Mail does not get sent, the page hangs and eventually PHP times out.

I'm at wits end. I could point PHP to another SMTP server but I'd like everything to be self contained.

Thanks.