Forum Moderators: coopster
Sometimes they are in some plain text, sometimes it pops up in an inline style and breaks it, and even worse its come up in encoded image data to break the image.
I know the character is not in the code im putting into the mail function.. and i just cant get rid of it happening.
if anyone has any ideas or have seen this before, i could really use some insight.
here is the code below
$boundary= "==Multipart_Boundary_x{$semi_rand}x";
$headers .= 'From: '.$fromEmail.' <'.$fromEmail.'>' . "\n";
$headers .= 'Bcc: '.$BccEmail.' <'.$BccEmail.'>' . "\n";
$headers .= 'Subject: Reservation' . "\n";
$headers .= 'MIME-Version: 1.0' . "\n";
$headers .= 'Content-Type: multipart/alternative; boundary="'.$boundary.'"';
$message.="This is a multi-part message in MIME format". "\n";
$message.="--".$boundary. "\n";
$message.="Content-Type: text/plain; charset=\"iso-8859-1\"". "\n";
$message.="Content-Transfer-Encoding: 7bit"."\n"."\n";
$message.=$plainText. "\n";
$message.="--".$boundary. "\n";
$message.="Content-Type: text/html; charset=\"iso-8859-1\"". "\n";
$message.="Content-Transfer-Encoding: 7bit"."\n"."\n";
$message.=$htmlEmail. "\n";
$message.="--".$boundary."--\n";
mail($infoArray['email'],'Reservation',$message,$headers);