I don't receive mail to my home firstname.lastname@example.org address, but I do receive mail at my email@example.com address. I delete the comments // on the address when I test.
Actually I did receive mail at my home address I think twice over the last few days and about 30 tests, but I cannot narrow down the reason. I wonder if it has something to do with a service providers security policy or the php.ini file.
How should I trouble shoot this? Thanks.
//$email = "firstname.lastname@example.org";
$email = "email@example.com";
$to = $email;
$subject = "Your subject";
$message = "Your message \r\n";
$header = "from: your name <firstname.lastname@example.org>";
$sentmail = mail($to,$subject,$message,$header);