Difference between PlainText and HTMLText - WeOnlyDo Discussion board

Difference between PlainText and HTMLText (General questions)

by GLlort, Thursday, May 19, 2005, 09:34 (7127 days ago)

Hello again!

I continue testing wodMailBox component and I can't understand the difference between the properties HTMLText and PlainText of the Message object.

I need to get message text (without HTML tags) and I try using PlainText, but the property contains the same that contains the HTMLText... how I can get the message text without HTML tags?

Thanks again!

Gerard Llort
Offshoretech.net

Re: Difference between PlainText and HTMLText

by wodSupport, Thursday, May 19, 2005, 10:03 (7127 days ago) @ GLlort

PlainText will not remove tags from the email, you would need to do that by yourself. PlainText will return part of the message that contains text/plain text, and HTMLText will return part of the message that contains text/html - it's that simple.

Re: Difference between PlainText and HTMLText

by GLlort, Thursday, May 19, 2005, 10:31 (7127 days ago) @ wodSupport

Tanks for this explanation!

Gerard