I'm having issues with emails sent from my web site not getting to the recipient, but arriving in their Junk/Spam folder.
Currently I use something not dissimilar to this:
Is the chance of this going into Spam greater as I do not have proper headers or I'm missing individualised elements(Hi Bob, etc.) ?
$body = "Thank you for signing up. To activate your account, please click on this link:\n\n";
$body .= "http://www.domain.co.uk/activate.php?x=" . mysql_insert_id() . "&y=$a";
$body .= "\n\nYour temporary password is ".$pass;
mail($_POST['email'], 'Company Name - Account Confirmation', $body, 'From: firstname.lastname@example.org');
Anyone know of a more bulletproof method to send these emails. So they have more of a chance to get through to the Inbox.