Hi. My flash form that uses a php mail script is sending the text formatting along with the data making it impossible to read. How can I strip all the formatting and just have the data left over in a readable format?
Here is how the email looks:
Name : <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Arial\" SIZE=\"11\" COLOR=\"#FFFFFF\" LETTERSPACING=\"0\" KERNING=\"0\">Scott JAcque</FONT></P></TEXTFORMAT>
Email: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Arial\" SIZE=\"11\" COLOR=\"#FFFFFF\" LETTERSPACING=\"0\" KERNING=\"0\">none@none.com</FONT></P></TEXTFORMAT>
Comments: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"JUSTIFY\"><FONT FACE=\"Arial\" SIZE=\"11\" COLOR=\"#FFFFFF\" LETTERSPACING=\"0\" KERNING=\"0\"></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Arial\" SIZE=\"11\" COLOR=\"#FFFFFF\" LETTERSPACING=\"0\" KERNING=\"0\">Hello, please work</FONT></P></TEXTFORMAT>
Here is the script:
$destination="none@none.com;
$name=$_POST;
$email=$_POST;
$mes=$_POST;
$mes=$_POST;
$mes=$_POST;
$subject="Message from $name" ;
$mes="Name : $name\n
Email: $email\n
Comments: $mes\n";
mail($destination,$subject,$mes); ?>