Check to see if you can send mail out of your server aside from the php
script. Also, check the logs: error_log, maillog, messages to see what's
wrong with the script or the mail function. I'm not sure if these logs exist
on IIS or where they are.
Siavash
----- Original Message -----
From: "Animesh Joshi" <5688469@xxxxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Wednesday, August 01, 2007 3:20 AM
Subject: mail function
I've installed IIS (Internet information services on my windows XP machine.
I've also installed php 5.0 from www.php.net. I'm trying to use the mail()
function in a simple php script which uses a html form. However, i'm not
able to send the mail using the mail($to, $subject, $message, $headers);
function. I wonder what's wrong. Please help, i'm new to php.
Animesh Joshi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php