by kubokok » Fri Jun 08, 2007 6:43 am
Thanks, I've tried to do a test email using PHP's mail() function and I can receive email coming from sendmail. Below is the script I used:
<?php
$to = "myemail@myserver.com";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";
if (mail($to, $subject, $body)) {
echo("<p>Message successfully sent!</p>");
} else {
echo("<p>Message delivery failed...</p>");
}
?>
When I tried to apply for a leave and checked the maillog, there is no trace of emails passed to sendmail. I've also tried doing various changes to the path to sendmail but no luck with email notifications.