I can’t figure this out, please help!!
I’m trying to send html email via PHP and have the following mail headers:
$sendTo = “[COLOR=black]mail@doma[/COLOR][COLOR=black]in.com[/COLOR]”;
$subject = “Blah Blah Blah”;
$headers = “From: " . $_POST[“txt68”] .” <" . $_POST[“txt69”] .">
";
$headers .= "Reply-To: " . $_POST[“txt69”] . "
";
$headers .= "Return-path: " . $_POST[“txt69”];
$headers = ‘MIME-Version: 1.0’ . "
";
$headers .= “Content-Type: text/html; charset=ISO-8859-1”;
It will send the email fine but it shows the email is from root@host185.ipowerweb.com which is the name of my server rather than the person’s name or email (txt68 being their name and txt69 being their email). Anyone know how to correct this?? I’m so lost right now… :crying: