Eliminate the html tags in email() function

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
smithveg
Forum Newbie
Posts: 4
Joined: Mon May 29, 2006 8:25 pm

Eliminate the html tags in email() function

Post by smithveg »

Hi,

I had using the mail() funciton to send an email from my site.
I get the script here, http://www.php.net/manual/en/function.mail.php

I'm using fomr html tag, such as table, font in the message field.
But i wondering. How can i eliminate all the html tags?
This is because i can see all the html tag in an email.

Any suggestion to do this?

Smithveg
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Post Reply