Re: mail function
| From: | Siavash Miri | Date: | Thu, 02 Aug 2007 07:15:01 +0000 |
| Subject: | Re: mail function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260043@lists.php.net to get a copy of this message | ||
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@swin.edu.au>
To: <php-general@lists.php.net>
Sent: Wednesday, August 01, 2007 3:20 AM
Subject: [PHP] 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