If I send an email using the mail function I never get a bounce for an invalid email address.
I have the reply set and it works OK.
ANy help would be appreciated.
Thanks in advance.
🆒
Code:
The $to, $body and $subject come from a form.
$body=str_replace("\r", "<br>", $body);
$body="<font face='arial' size=2>Dear $cp_first_name,<br><br>".$body;
$body.="<br><br>Regards,<br><br>
<b>$cu_first_name $cu_last_name $cu_qualifications</b> <br>Telephone: $cu_telephone <br><img src=\"$companylogo\">";
$ehead = "MIME-Version: 1.0\n";
$ehead .= "Content-type: text/html\n";
$ehead .="From: $from\nReply-To: [email]fred@e-qualityrecruitment.com[/email]";
mail("$to","$subject","$body","$ehead");