23-12-20 05:04 AM
My bot will have to read email where the email body will have embedded image but not as an attachment. While converting that email into PDF, the image gets lost. we cannot see the image in converted email. is there any way that image can be downloaded by bot separately?
23-12-20 06:19 AM
Hi Manswini,
I sounds for me that the email body is html. Than you have to search for the image tag and grap the value from the href attribute. With this value you can download the image.
If you are handy with .NET coding I recommend the HTML agility pack: https://html-agility-pack.net/
With this in mind you can get all image urls with a single expression e.g. //img/@href
------------------------------
Tobias Arnold
RPA Developer
ITERGO GmbH
Europe/Duesseldorf
------------------------------