At 09:34 PM 12/20/2001 -0500, Thomas Orr wrote: >I need help with a basic issue. I can't seem to get the mail() function to >work with php4 on an xp machine running iis5. I'm new to php and really [...] >mail($recipient, $subject, $msg, $mailheaders); <------*THIS IS WHERE >IT SCREWS UP*
What is the error message that you get? What is the value of sendmail_from = in your PHP.INI? What is the value of SMTP = ? Have you tried to manually connect to your mail server and send the message? You can do this by telnetting to port 25 on the mail server and issuing the following: EHLO yourdomain.com MAIL FROM: your sendmail_from setting RCPT TO: who you are sending the mail to At this point you'll either get a 200 OK or some sort of 550 error. If you get a 550 then the problem doesn't lie with PHP, but most likely the mail server you are attempting to use doesn't permit you to relay from the IP or with the MAIL FROM address you are using. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]