Forum Moderators: coopster
I want to send an email off a a php script. I made a test page with the following on
<?php
$to = "tony@domain.co.uk";
$subject = "Test";
$body = "Test message";
if (mail($to, $subject, $body))
{
echo("<p>Message sent!</p>");
}
else
{
echo("<p>Message delivery failed...</p>");
}
?>
It says message sent but the mail never arrives. I suspect someone is going to direct me to my mail logs.. but where are they located? the server runs LINUX-FEDORA (redhat) and I have telnet root access.
Thanks for any replies your help is much appreciated.
Tony Hyams