# How to customize the e-mail that I receive from a Flash Form + PHP?

**URL:** <https://forum.kirupa.com/t/how-to-customize-the-e-mail-that-i-receive-from-a-flash-form-php/185359>\
**Category:** Uncategorized\
**Created:** [April 12, 2006, 6:46pm UTC](https://forum.kirupa.com/t/how-to-customize-the-e-mail-that-i-receive-from-a-flash-form-php/185359 "2006-04-12T18:46:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lolomedia](https://avatars.discourse-cdn.com/v4/letter/l/ebca7d/32.png) [@lolomedia](https://forum.kirupa.com/u/lolomedia)\
**Post date:** [April 12, 2006, 6:46pm UTC](https://forum.kirupa.com/t/how-to-customize-the-e-mail-that-i-receive-from-a-flash-form-php/185359/1 "2006-04-12T18:46:37Z")

</div>

[COLOR=Red]\*how about bold?

this is what i have on my php\*[/COLOR]

```php

<?php

$sendTo = "lolo@lolomedia.com";
$subject = "Optional Survey I";

$headers = "From: <" . $_POST["email"] .">
";
$headers .= "Reply-To: " . $_POST["email"] . "
";
$headers .= "Return-path: " . $_POST["email"];

$message = "Prior to completing this orientation, would you have considered some of your e-Mail be corporate records?: $gender
";
$message .= "

";
$message .= "Comments: " . $_POST["Smessage"];

mail($sendTo, $subject, $message, $headers);

?> 

```

[COLOR=Red]_and this is what i get on my email body:_[/COLOR]

Prior to completing this orientation, would you have considered some of your e-Mail be corporate records?: Yes

Comments: I think this was very interesting.

[COLOR=Red]_but i would like to get this:_[/COLOR]

\*\* Prior to completing this orientation, would you have considered some of your e-Mail be corporate records?:\*\* Yes

\*\* Comments:\*\* I think this was very interesting.

---

<div class="post-metadata">

**Author:** ![hl1](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/hl1/32/849_2.png) [@hl1](https://forum.kirupa.com/u/hl1)\
**Post date:** [April 12, 2006, 6:53pm UTC](https://forum.kirupa.com/t/how-to-customize-the-e-mail-that-i-receive-from-a-flash-form-php/185359/2 "2006-04-12T18:53:29Z")

</div>

```php
<?php

$sendTo = "lolo@lolomedia.com";
$subject = "Optional Survey I";

$headers = "From: <" . $_POST["email"] .">
";
$headers .= "Reply-To: " . $_POST["email"] . "
";
$headers .= "Return-path: " . $_POST["email"] . "
";
$headers .= "Content-type: text/html";

$message = "<b>Prior to completing this orientation, would you have considered some of your e-Mail be corporate records?:</b> $gender
";
$message .= "

";
$message .= "<b>Comments:</b> " . $_POST["Smessage"];

mail($sendTo, $subject, $message, $headers);

?> 

```

---

<div class="post-metadata">

**Author:** ![lolomedia](https://avatars.discourse-cdn.com/v4/letter/l/ebca7d/32.png) [@lolomedia](https://forum.kirupa.com/u/lolomedia)\
**Post date:** [April 12, 2006, 7:12pm UTC](https://forum.kirupa.com/t/how-to-customize-the-e-mail-that-i-receive-from-a-flash-form-php/185359/3 "2006-04-12T19:12:54Z")

</div>

thank you harish

I got something like this:

\<b\>Prior to completing this orientation, would you have considered some of your  
e-Mail be corporate records?:\</b\> Yes

\<b\>Comments:\</b\> well, this is working great now!

Maybe, my email was not html enabled view but I made sure it was enable and  
I still got the same \<b\> on my body of the email.

:pa:

any advice?

---

<div class="post-metadata">

**Author:** ![lolomedia](https://avatars.discourse-cdn.com/v4/letter/l/ebca7d/32.png) [@lolomedia](https://forum.kirupa.com/u/lolomedia)\
**Post date:** [April 12, 2006, 8:16pm UTC](https://forum.kirupa.com/t/how-to-customize-the-e-mail-that-i-receive-from-a-flash-form-php/185359/4 "2006-04-12T20:16:16Z")

</div>

if anyone knows how to get my result on outlook with rich text please help me out.

i’m sending info from flash to php then to my inbox… a contact form

but i want some of that info to be bold.

example:

**message :** “user’s input”

please help out… thanks! :book:

---

<div class="post-metadata">

**Author:** ![Ankou](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ankou/32/1351_2.png) [@Ankou](https://forum.kirupa.com/u/Ankou)\
**Post date:** [April 12, 2006, 8:51pm UTC](https://forum.kirupa.com/t/how-to-customize-the-e-mail-that-i-receive-from-a-flash-form-php/185359/5 "2006-04-12T20:51:32Z")

</div>

I think you need to send the email with the MIME type of text/enriched. I’ve never tried that though, so I’m not sure how well it will work, or even how to make something appear as simple as bold text. :puzzle:
