Code: Select all
<?php
$subject = 'hello!';
$to = 'my@email.com';
$content = 'Hello World!';
$from = 'From: hello@test.com';
if(mail($to, $subject, $content, $from)) {
echo "Success!";
} else {
echo "failure";
}
?>
The page is always displaying "success" but there is no new mail in my inbox :/
Any ideas?
Thanks guys!