I noticed that
$sendtoo.="$to <$emailFName>\n";
should be
$sendtoo.="$to <$emailFrom>\n";
and changed it but I am not sure of the format
it still doesn't work
😕
I am trying to modify a script that I inherited with a website.
It is half working. It sends an email to the person submitting the form
but not to me as the administrator. It does jump to the location page
now, also
here are the variables:
$emailFrom="limolinks@safe-mail.net";
$emailFName="Salt Lake City Limo Links Directory";
$emailSubject="Limousine Directory Link Request";
$to = ucwords($fname . $lname);
it is not sending to : $emailFrom="****links@safe-mail.net";
here are the mail commands
$sendto = "$to <$email>\n";
$mh1 ="From: $emailFName <$emailFName>\n";
$sendtoo.="$to <$emailFName>\n";
$mh2 ="From: $fname <$email>\n";
mail($sendto,$emailSubject,$body,$mh1)or die();
mail($sendtoo,$emailSubject,$body,$mh2)or die();
header("location:statelinks.html");