How to convert html mail body to text

I want to extract mail body but mail body coming html format, this html format how to convert text, give me possible Solution

1 Like

Hi,

Just uncheck is html body option from property panel of Get mails (whatever activity you are using to read mails)activity.
Then you can read the body in normal text.

Thanks

I have given normal body but it will be coming html format

Hi @venkatesh_kotcherla

Share the screenshot of activity property where you are reading the mails.

This is forward mail ,while Extracting data here mail body coming normal text

but This is direct mail , While Getting mail body here is coming Html format

1 Like

Hi,

Which activity are you using for reading mails? Share me screenshot- properties of reading mails activity.

Thanks

use gmail


for each mail activity

Assign activity

Test to set IsBodyHtml to True.

image

If even that fails, there’s always the Extract Text activity to extract text from HTML:

image

It is working, Thank you so much…

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.