Do you have an SMTP server installed on your machine? If not, add one to IIS (probably the simplest way to do it in Win2k).
-M -----Original Message----- From: Sean [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 11:11 PM To: [EMAIL PROTECTED] Subject: [PHP] Mail I cannot get mail() to work any idea's I get a server error. Windows 2000 the SMTP port is 25. No default values have being changed from the original PHP installation. In it's simplest form mail("[EMAIL PROTECTED]", "My Subject", "Test"); Gives the error as do more complicated scripts that I copied. Thanks Sean -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php