I don't use Windows for development/production but I read somewhere that you needed to set in your php.ini for windows a config for either the host server that had email capabilities.
That's all I can offer. Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -----Original Message----- From: John [mailto:[EMAIL PROTECTED]] Sent: Monday, 7 October 2002 12:32 PM To: [EMAIL PROTECTED] Subject: [PHP] server error sending email from script Q: If I'm not on the server that is to be used to send the email, how can I configure PHP to send from a certain server? thanks all Warning: Server Error in c:\program files\apache group\apache\htdocs\sonicmailer\sonicadmin.php on line 276 and line 276 is mail($address, stripslashes($subject), $finalbody, $mailheaders); and it's not sending the email. The variables are OK, $mailheaders=From: blah Reply-To: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php