Get images from mail body

Hello,
i want to export and download images from a mail and saving them in a folder on my local computer so i can later convert them to Base64.
I have already tried to look into the attachments list as some other articles suggested but apparently no image is recognized as an attachment in my case. Do you have any idea how i can solve this problem otherwise?

Thank you so much in advance

@Dideldumdei123

Welcome to the community

First check if you have used inline attachments options while saving…as this would be an inline attachment

Alternately Can you try to get body as html which will be mail.bodyashtml field and then save the value to a text file and name it temp.html …opwn in using use app/browser and then try checking if you are able to see the image…if yes then we can use take screenshot and pass the selector as per the image selector by making it generic…

Cheers

Hi @Anil_G , thank you for your answer! I do not exlude inline attachments so they should be included, right? I also tried to tick this box (Exlude Inline Attachments) but it wont work either.

I have also tried to save the mail as a html and open it in a browser but i dont see the image

I dont know what to do anymore it seems that everything that worked for others wont work for me

@Dideldumdei123

Manually can youopen the mail and check if the image is a url ot if it is a file attachment

Cheers

@Anil_G

In the html code of the mail the image looks like this:

<img width=400 height=400 style='width:4.1666in;height:4.1666in' id="Grafik_x0020_1" src="cid:image001.png@01DB15BB.43FAF730">

Cheers and thank you for your help

Can you post a screenshot of the whole sequence?

@sudster

Hi, thank you for your help!

The mail with this body

turns into this html code

Please post the whole sequence; you may sanitise any confidential information. Or create a sample workflow and post the whole screenshot. To generate an image, right on the sequence and select Copy as image.

Here’s a sample:

@Dideldumdei123

Looks like the image is sent as linked resource and not attachment…ideally it should be present unless it is not linked resource type

Cheers