You can either use HTMLTidy, as Jeff suggested, or use
GotDotNet's
SgmlReader, then use any XML API to get to the text-only
data.
On 6/5/06, Jeff <JMT magentatech.com> wrote:
> Does anyone know of a .net component that can be used
to take an email
> message and strip out all the funky html and nasty ms
code that
> outlook/express imbeds into an email? We are trying to
display this into a
> multi line text box and it just looks nasty. There has
to be some easy way
> to display an email body into a text box and easily
strip out all this nasty
> stuff. Anyone have any ideas?? Trying to create this
logic ourselves given
> all the code variatations, and our limited time frame
is not an option.
>
>
>
> Thanks.
>
>
>
>
>
>
>
>
> ===================================
> This list is hosted by DevelopMentor(r) http://www.develop.com
>
> View archives and manage your subscription(s) at http://discuss.develop.com
>
--
Cheers,
Stoyan
===================================
This list is hosted by DevelopMentorŪ http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|