Problems with mail() w/Win2k

From: Date: Thu, 16 May 2002 15:11:46 +0000
Subject: Problems with mail() w/Win2k
Groups: php.general 
Request: Send a blank email to php-general+get-97920@lists.php.net to get a copy of this message
Hey guys I recently join this list and this is my first real post to it so if I f**k something up please do beat me to death. :) I have a simple mailer script that was mailing POSTed form information to a client, this script was running on a Debian box w/Apache. This server is having hardware issues so I moved the sites to a win2k machine. The same script bombs out when it trys to use the mail() function. The error message I receive is not so enlightening: Warning: Server Error in D:\Inetpub\belcoind.com\mailFunc.php on line 24 I changed the line in the php.ini to read: SMTP = localhost; the server has its own smtp service running on it I also tried: SMTP = mail.mydomain.com; This genereated the same problem. I have been using PHP with Apache forever but I rarely use it on Windows so any insight into this problem would be great. Thanks in advance, -Jared

« previous php.general (#97920) next »