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

cid is a Content-ID, not a file name or URL name.

cid is used for inline image transfer, which requires multipart content transfer capability.
If then, you could send the HTML along with the image as follows - just snippets..

--......
Content-Type: text/html;

......
<body>
......
<img src="cid:2424bd42-538c-4b32-af5c-b3020c193bc9">
......
</body>

--......
Content-Type: image/png; name="img.png"
Content-ID: <2424bd42-538c-4b32-af5c-b3020c193bc9>
Content-Transfer-Encoding: base64

iVBORw0KGgoAAAANSUhEUgAAAGQAAABjCAYAAABt56XsAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAg
AElEQVR4nHS92ZNl2XXe91tr732Ge29OVVljd3U3ugEQAwGQGIKmKDNERtDh6cGiHWG/KMIRtv8A
P/nRfHL4ye+WIixa4mDRJk1LtkhKoknJIQogREwkAGJodKPRY4053nvPOXvv5Ye9z80sULoVGVmZ
......
Ll26xNHRIc71MgxGhe976kKjkZC1tQsorWg6T2wd2hY8d+dVXv7yG/z+t7/PB7/+Lf8Hrz3+K9JH
GWAAAAAASSUVORK5CYII=

--......
END OF snippets

Unfortunately, MS Outlook Emal VBO doesn't seem to have such a feature.
I wish there may be some VBO for this purpose.

Another way would be to create action stages that directly controls Outlook without using VBOs.

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