# Flash PHP Email , Hide Formatting in end-user Email?

**URL:** <https://forum.kirupa.com/t/flash-php-email-hide-formatting-in-end-user-email/244263>\
**Category:** flash\
**Created:** [November 15, 2007, 6:14pm UTC](https://forum.kirupa.com/t/flash-php-email-hide-formatting-in-end-user-email/244263 "2007-11-15T18:14:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjmorga](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@jjmorga](https://forum.kirupa.com/u/jjmorga)\
**Post date:** [November 15, 2007, 6:14pm UTC](https://forum.kirupa.com/t/flash-php-email-hide-formatting-in-end-user-email/244263/1 "2007-11-15T18:14:50Z")

</div>

Hello and thanks for taking the time,

I built a Flash email sender, its very simple, it just sends all the variables in the fields, no cross checks or nothing.

Problem: here’s what the end-user email looks like:

Subject: Message from \<TEXTFORMAT LEADING=“2”\>\<P ALIGN=“LEFT”\>\<FONT FACE="\_sans" SIZE=“14” COLOR="#000000" LETTERSPACING=“0” KERNING=“0”\>Smiles\</FONT\>\</P\>\</TEXTFORMAT\>

Name : \<TEXTFORMAT LEADING=“2”\>\<P ALIGN=“LEFT”\>\<FONT FACE="\_sans" SIZE=“14” COLOR="#000000" LETTERSPACING=“0” KERNING=“0”\>Smiles\</FONT\>\</P\>\</TEXTFORMAT\>

Email:

Comments: \<TEXTFORMAT LEADING=“2”\>\<P ALIGN=“LEFT”\>\<FONT FACE="\_sans" SIZE=“14” COLOR="#000000" LETTERSPACING=“0” KERNING=“0”\>Massage\</FONT\>\</P\>\</TEXTFORMAT\>

Here’s my PHP code:

\<?

$destination="jjmorga@gmail.com";  
$name=$\_POST[‘name’];  
$subject=$\_POST[‘subject’];  
$mes=$\_POST[‘message’];  
$subject=“Message from $name” ;  
$mes="Name : $name

Email: $email

Comments: $mes  
";  
mail($destination,$subject,$mes); ?\>

To anyone that helps me tackle this pickle I bid you a million thanks
