Unwanted HTML tags added to form data

Hello,

Wondering if anyone can help me out.

I have a feedback form on my flash site that uses formmail.pl

All is fine, apart from when I receive the data from the form as an email it’s full of unwanted html tags. Is there anyway to remove this to make the email more readable?

I’m using flash cs3 and the latest formmail.pl script.

The action script was based on the “Flash E-Mailer Using CGI Script” tutorial taken from flash kit.

On (Release)
Set Variable: “recipient” = “youremail@server.xxx”
Set Variable: “redirect” = “redirect.htm”
Get URL (“formmail path”, vars=POST)
End On

Here is an example:

Below is the result of your feedback form. It was submitted by
<P ALIGN=“LEFT”><FONT FACE=“Arial” SIZE=“9” COLOR="#000000" LETTERSPACING=“0” KERNING=“0”>hhhhhhhhhh</FONT></P> (<P ALIGN=“LEFT”><FONT FACE=“Arial” SIZE=“9” COLOR="#000000" LETTERSPACING=“0” KERNING=“0”>hhhhhhhhhhh</FONT></P>) on Saturday, March 8, 2008 at 02:48:50

company: <P ALIGN=“LEFT”><FONT FACE=“Arial” SIZE=“9” COLOR="#000000" LETTERSPACING=“0” KERNING=“0”>hhhhhhhhhhh</FONT></P>

comment: <P ALIGN=“LEFT”><FONT FACE=“Arial” SIZE=“9” COLOR="#000000" LETTERSPACING=“0” KERNING=“0”>hhhhhhhhhh</FONT></P>

I just filled all the boxes with h’s, it’s all the html bits that are the problem.

If I export the swf as flash 5 it works fine, trouble is It has flash video clips in the file so I need flash 8.

I already tried turning off the “render text as html” option

I also have “use device fonts” selected

Many thanks.