Trying to get php email working having problems. Can anyone see any problems with code. Any help is greatly appreciated. Thanks in advance.
//begin creation of the email
$headers = "MIME-Version: 1.0
";
$headers .= “Content-type: text/html; charset=iso-8859-1
“;
$headers .= “From: example@example.com”;
$message1 = “<html><body>
$messagecontent
</html></body>”;
// mail(”$_SESSION[e_mail], test@example.com”, “Thank you for Signing-Up with Example”, $message1, $headers);
// mail("$_SESSION[e_mail]", “Thank you for Signing-up with Example”, “$message1”, "From: signup@example.com Return-Path: d@example.com BCC: example@example.com ");
mail("$e_mail, signup@example.com", “Thank you for Signing-Up with Example”, $message1, $headers);
header(‘Location: signup4.php’);
?>
<!–END PHP CODE–>