Hello Dear,
I'am using the mail() function to send e-mail from a php script ( via smtp, IIS- Microsoft component):
<?php
$name=$POST['name'];
$subject=$POST['subject'];
$message=$_POST['message'];
$to = "test@hotmail.com";
if ( mail($to, $subject, $message))
echo 'sent';
else
echo 'not sent';
?>
The e-mail is not sent, please can any one help me with this issue..and how can I get an error report to know what is the problem.
thank you