How to extract table data from mail body?

Hi

There are multiple approaches to read a DATATABLE from a mail body
Like data scrapping or converting the HTML mail body to DATATABLE

Have a view on this thread for multiple approaches

Or
This component can help you convert the HTML to datatable that is it will read the mail and give the datasets in it

If you using this component
Then the steps involved will be like

image

image

In property HTMLText – item.Header(“HTMLBody”).ToString . This will extract the HTML code from the email and convert it into a string.

Cheers @BNK

2 Likes