How do we extract the body of '.MSG' file as html

Hi Everyone,

I am tying to extract the body of ‘.MSG’ (Mail Attachment) file as a HTML, to extract particular hyperlink. Can any one help me out how do we extract the it. Please share your thoughts and reference links.

Thanks,
Meera

Hi @mshai1 ,

The hyperlinks from the email body can be extracted by formulating regex.

Find the below post, it solves the same use case using regex:

Regards,

2 Likes

@mshai1

Hope this helps

cheers

Thanks for your reply but I looking for the answer “How do we extract the body of ‘.MSG’ file as html”.

Thanks for your reply but I looking for the answer “How do we extract the body of ‘.MSG’ file as html”.

@mshai1

Please check this

You can modify to include html body as well

Cheers