11-12-23 04:26 PM
I've attached the image "Return Mail Image Header.png" as an attachment to the email. However, I want to show this image in the actual body of the email. I tried using CID in the body like this, but with no success. How can I accomplish this? Is there any other way to have inline images without using CID? Would using a Base64 string be better?
By the way, I've already taken a look at this thread, which is 4 years old and doesn't work in 2023. I hope somebody can send a CURRENT working solution.
11-12-23 10:03 PM
Hi Humza,
To add an image into an email body (instead of an attachment), you could insert an image in the body of an email using HTML tags to point to an image hosted online. Using a Data Item, with data type as "text", add the HTML code which makes it possible to send an email with an image included in the body of the message.
13-12-23 02:25 AM
Just share my available action below:
note: key word is "file:" if save file in local drive
And hope it would help you, thank you.
18-12-23 02:24 AM
Hello,
Try using this expression after converting the image to base 64:
<p><img id="ImageID" src="data:image/png;base64, Base64Code"> </p>
Regards,
------------------------------
Leonardo Soares
RPA Developer Tech Leader
Bridge Consulting
América/Brazil
------------------------------