# \[php\] Strip\_tag() and Mail()

**URL:** <https://forum.kirupa.com/t/php-strip-tag-and-mail/103697>\
**Category:** Uncategorized\
**Created:** [March 8, 2004, 12:28pm UTC](https://forum.kirupa.com/t/php-strip-tag-and-mail/103697 "2004-03-08T12:28:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Azazel](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@Azazel](https://forum.kirupa.com/u/Azazel)\
**Post date:** [March 8, 2004, 12:28pm UTC](https://forum.kirupa.com/t/php-strip-tag-and-mail/103697/1 "2004-03-08T12:28:32Z")

</div>

K, here’s my problem… when I send mail through a send mail form on my web site i get this in my mail box (Outlook express)

\<p align=“left”\>\<font face=“Courier New\_12pt\_st” size=“12” color="#673434"\>» ärende «\</font\>\</p\>

How do I remove all the obviosly enoyng ("\<p align=" and so on)  
text??

**Here is the PHP**

```php

<?php

$send = "me@mine.com";
$subject = "Mail från hemsidan";

$headers = "From: " . $_POST["namn"];

$headers .= "<" . $_POST["mail"] .">
";

$headers .= "Reply-To: " . $_POST["mail"];

$message = stripslashes("$meddelande");
$message = $_POST["meddelande"];

mail($send, $subject, $message, $headers);
?>

```
