I have two problems.
1) Upon of receival of the email, it does not capture the html within the body
2) It only issues the email to the recepient [email protected] and not [email protected]
Everything else works fine.
$to = '[email protected], [email protected]';
$subject = "New interested recruiter: " .$cleanEmail. "";
$header = "From: [email protected]";
$header .= "Reply-To: [email protected]";
$header .= "Content-type: text/html; charset=iso-8859-1\r\n";
$message = "<html>";
$message .= "<body>";
$message = "New interested recruiter: ".$cleanEmail."<br><br>";
$message .= $cleanMessage;
$message .= "</body>";
$message .= "</html>";
mail($to, $subject, $message, $header) or die ("Failure");
Thanks in advance
$message = "New interested recruiter: ".$cleanEmail."<br><br>";