I've been getting very annoyed at this as no matter what it seems spam filters are still calling my websites auto responder as spam. I've set all my headers correctly and this is what I have so far!
$headers = "From: Name<[email protected]>
"
."Return-Path: Name<[email protected]>
"
."Reply-To: Name<[email protected]>
"
."Message-ID: <". time() .rand(1,1000). "@".$_SERVER['SERVER_NAME'].">
"
."X-Mailer: PHP v".phpversion()."
"
."MIME-Version: 1.0
"
."Content-Type: text/plain; charset=iso-8859-1
";
@mail($_POST['email'], "Subject", "Message", $headers);
Please help me on this one! :)
This is being sent from my shared hosting providers servers.
would it help if I added the 5th parameter as below?
"-f [email protected]"
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…