sspi1153
(Slavisa)
February 20, 2022, 11:59am
1
Hi community,
I have been using For Each Email activity to get and read all emails. Somehow I all emails started to be extracted as HTML, alouth I would need them as regular text.
So basically here is screenshot of the original email:
and here is the extraction:
It is super hard to further processing - I would like to have it is regular Email.
Here is the sequence I am using.
Thanks!
Mail.xaml (8.4 KB)
1 Like
Hey @sspi1153
What’s the mail activity you are using please ?
Thanks
#nK
sspi1153
(Slavisa)
February 20, 2022, 2:40pm
3
Hi @Nithinkrishna ,
thanks for answering!
I am using For Each Mail within “Use Gmail”. I have attached an example of the sequence in the original post.
Regards,
S
1 Like
Hey @sspi1153
This happens because, some mails we receive may not support multiple content types like plain text instead only HTML.
So I have a workaround for you which helps in parsing HTML to plain text using a .NET library HTMLAgilityPack
Kindly check the below, which may help you…
nmnithinkrishna_ParseHTMLMailBodyToPlainTxt.zip (2.8 KB)
Thanks
#nK
system
(system)
Closed
February 24, 2022, 7:47am
6
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.