I have a website in wich I send a confirmation mail as part of the registration process.
Some time ago, I had some troubles with the mails I sent since I used no headers (php mail function).
Once I put some headers, I've got more reponses from users but I suspect that not every message reach its destination.
How can I be sure that the messages reach theirs destination?
Wich are the headers that can be considered a 'must'?
This is the code of my SendMail function
mail($to,
$subject,
$message,
"MIME-Version: 1.0\n".
"Content-type: text/plain; charset=ISO-8859-1; format=flowder\n".
"Content-Transfer-Encoding: 8bit\n".
"Message-Id: <" . md5(uniqid(microtime())) . "@mysite.com>\n".
"Return-Path: <[email protected]>\n".
"X-Mailer: PHP v".phpversion()."\n".
"From: admin@ mysite.com");
Thanks