Urgent: Sending Mail Problem in Linux (mandrake 7.2)
I am using mandrake 7.2 php version 4.2.3, and exim3.20.

Exim is working correctly, but for some reason php's mail function is returning false. Here is a snippet of my code:
?>
if (@mail($to, $subject, $content, $from))
{
echo ("mail sent");
}
else{
echo ("mail not sent");
}
?>

Any help you can provide is greatly appreciated.

Thanks!

    I've never heard of exim, but I assume that's a mail program? If so, have you set your php config file to use exim instead of sendmail?

    --kinadian

      I have php pointing to /usr/sbin/exim which is where exim is located.

        Write a Reply...