# Php mail problem

**URL:** <https://forum.kirupa.com/t/php-mail-problem/183660>\
**Category:** Uncategorized\
**Created:** [March 29, 2006, 2:04am UTC](https://forum.kirupa.com/t/php-mail-problem/183660 "2006-03-29T02:04:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dravalanche](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@dravalanche](https://forum.kirupa.com/u/dravalanche)\
**Post date:** [March 29, 2006, 2:04am UTC](https://forum.kirupa.com/t/php-mail-problem/183660/1 "2006-03-29T02:04:13Z")

</div>

Hi  
I’ve made a php form in a flash site. When I test it I don’t just get the email address sent to me I also get alot of garble.

\<TEXTFORMAT LEADING=“2”\>\<P ALIGN=“LEFT”\>\<FONT FACE=“Arial” SIZE=“11” COLOR="#FFFFFF" LETTERSPACING=“0” KERNING=“0”\>[hey2@hotmail.com](mailto:hey2@hotmail.com)\</FONT\>\</P\>\</TEXTFORMAT\>

this is what I get in the email.  
can anyone help?

---

<div class="post-metadata">

**Author:** ![Phlashman](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@Phlashman](https://forum.kirupa.com/u/Phlashman)\
**Post date:** [March 29, 2006, 2:24am UTC](https://forum.kirupa.com/t/php-mail-problem/183660/2 "2006-03-29T02:24:05Z")

</div>

Did you set the headers to tell the message that it was HTML text?

```php
$headers .= "Content-type: text/html;
";

```

---

<div class="post-metadata">

**Author:** ![dravalanche](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@dravalanche](https://forum.kirupa.com/u/dravalanche)\
**Post date:** [March 29, 2006, 3:08am UTC](https://forum.kirupa.com/t/php-mail-problem/183660/3 "2006-03-29T03:08:32Z")

</div>

> [@Phlashman](#):
>
> Did you set the headers to tell the message that it was HTML text?
> 
> ```php
> $headers .= "Content-type: text/html;
> ";
> 
> ```

does that go into the php document?
