Some of the emails I send from
my site don't arrive, I've heard.
Code:
$message = "Blablabla";
$headers .= "From: $yourname <$youremail>\r\n";
$headers .= "X-Sender: <$youremail>\r\n";
$headers .= "X-Mailer: PHP\r\n";
$headers .= "X-Priority: 3\r\n";
$headers .= "Return-Path: <bounce@mydomain.com>\r\n";
mail($email, $subj, $message, $headers);
the variables email, subj, yourname, youremail exist.
What can be the problem?
Should I try using "To:" in the headers?