I have a PHP mail script that gets called from flash. when I receive the email is there a way to add html to dress the way it comes in instead of plain text? or can i use bold/different font sizes? also if a user doesn't type anything into a certain field, can the incoming email that I get not include that item at all? below is the PHP script. for example if I dont enter anything for "bagel" below, can "BAGEL: $bagel" not show up at all in the email that I get?
<?
$ToEmail = 'myemail@myemail.com';
$ToSubject = "subject line here";
$EmailBody = "
COMPANY NAME: $Name\n
ADDRESS: $Address\n
CONTACT PERSON: $ContactPerson\n
\n\n
MENU ORDERS\n
BAGEL: $bagel
TOAST: $toast
FRUIT: $fruit
";
mail($ToName." <".$ToEmail.">",$ToSubject, $EmailBody, "From: ".$Name." <".$Email.">");
?>
<?
$ToEmail = 'myemail@myemail.com';
$ToSubject = "subject line here";
$EmailBody = "
COMPANY NAME: $Name\n
ADDRESS: $Address\n
CONTACT PERSON: $ContactPerson\n
\n\n
MENU ORDERS\n
BAGEL: $bagel
TOAST: $toast
FRUIT: $fruit
";
mail($ToName." <".$ToEmail.">",$ToSubject, $EmailBody, "From: ".$Name." <".$Email.">");
?>