cancel
Showing results for 
Search instead for 
Did you mean: 

Embed a image in email body

AshutoshRai
Level 3
Hi,   I try to embed a picture in email body but still not able to slove this using outlook vbo. 1.I cannot upload that image to any server due to client security issue. 2.I tried  to convert image in base64 string and append the whole string in image. Try in many way but not able to see image in mail body only cross red at place of image inside the body. 3. Tried copy and paste  as manully we do but fail, it's added as a attachment in mail.   Any suggesstion ? Thanks in advance !  
10 REPLIES 10

MelissaSuarez_G
Level 6
You can do it by using HTML and the ""cid"" property. This is an example using the ""Send Email"" action of the MS Outlook Email VBO: To: username@domain.com Subject: Any subject Message: Attachment: ""C:\Temp\MyImage.jpg"" Note that basically you have to attach the image to the email by specifying the path. Then you can use the ""cid"" property to specify what's the name of the image that you want to include in the message.  

AmiBarrett
Level 12
You can also encode the image to a string and embed that, assuming you've got the output e-mail set as HTML. Please refer to this thread and the thread it links to for additional info. https://portal.blueprism.com/forums/technical-queries/spyingapplication…

AshutoshRai
Level 3
@Amibarrett  I did  that not able to find image in body but red cross is showing instead. Base64 string is too much lengthy and above  mentioned  i tried this. This is not working for me.   Thanks for suggestion !

AshutoshRai
Level 3
Guy's Problem solve but i found tricky approach. add picture as attachment in mail also send picture name in mail body.

ShahajiSuryawan
Level 3
Hi All,

I am also facing issue in embedding image in email body as inline. I am using BP v6.3. I have tried this with 'Microsoft outlook email VBO' Send Email action. I added "cid:img.png" in HTML IMG tag and provided that image path as input parameter (Attachments) for Send Email action. It shows error text 'Linked Image is moved or deleted'

Can someone help me with solution. Anyone has tried this and succeed.

------------------------------
Shahaji Suryawanshi
Associate
Credit Suisse
Asia/Kolkata
------------------------------

Hi,

Issue resolved ? If resolved please help to me.

I am also facing same problem.

------------------------------
poornachandu ponakala
Application development senor analyst
Accenture
Asia/Kolkata
------------------------------

I was trying to achieve the same and would like to share what worked for on MS Outlook VBO for future readers.

In your email body add/append this text (replace with your actual image path)- <img src="C:\temp\test.png"> and your image will be sent in the email body instead of an attachment.


------------------------------
If I was of assistance, please vote for it to be the "Best Answer".

Thanks & Regards,
Tejaskumar Darji
Sr. Consultant-Technical Lead
------------------------------

Thanks @Tejaskumar_Darji for sharing this. i tried this and it is working .

24639.png

------------------------------
Neeraj Kumar
Technical Architect
------------------------------

Instead of the "C:\temp\test.png", use a URL accessible to the recipient. Or the receiver should not be able to see that image.

------------------------------
Bohyon Hwang
Director
블루프리즘
Seoul
+82262033950
------------------------------