cancel
Showing results for 
Search instead for 
Did you mean: 

How to add Image in Email body using MapIEX

Anonymous
Not applicable
I want to add image in the body of an email, I have an idea that it can be done using HTML code. Can anyone help me in this one.
1 REPLY 1

AmiBarrett
Level 12

Please refer to this thread: https://community.blueprism.com/communities/community-home/digestviewer/viewthread?GroupId=97&MID=2748 Additionally, here's the code stage I used.

Inputs:
FilePath - Text

Outputs:
Base64 - Text

Dim imageArray As Byte() = System.IO.File.ReadAllBytes(FilePath)
Dim base64ImageRepresentation As String = Convert.ToBase64String(imageArray)
Base64 = base64ImageRepresentation