Hi guys,
Not intirely sure whats going on here.
Sometimes the second email comes through and sometimes the first email comes through, but never both.
The contact script sends the message to the client and the second sends a thank you note to the use that has submitted the form.
$subject1 = $meSubject;
$subject2 = "RE:".$meSubject;
$ok1 = mail($toaddress, $subject1, $bod, $headers . "From: ".$meName." <".$meEmail.">");
if($ok1){
$ok2 = mail($meEmail, $subject2, $msg, $headers . "From: ".$sitename." <".$toaddress.">");
if($ok2){
echo "&retval=1&";
}
}
Anyone see anything wrong with the script