PHP script
$from = "[email protected]";
$to = "[email protected]";
$subject = "subject";
$mailtext = "blablabla";
if (mail($to, $subject, $mailtext, "From: $from "))
{
echo "Enquiry sent!";
}else {
echo "fail!";
}
When I run the code it displays enquiry sent which means mail is sent but the mail is not recieved .