VML base64 image

前端 未结 1 1970
甜味超标
甜味超标 2021-01-24 22:15

I use html signature for Outlook 2007. The signature contains a few image file. I want embed image files so it\'s shouldn\'t be on attachment. But v:image doesn\'t

相关标签:
1条回答
  • 2021-01-24 22:29

    Outlook uses Word to render the images, and Word does not support embedded (src="data:image") images. You need to attach the image as a file, set the PR_ATTACH_CONTENT_ID property on the attachment (Attachment.PropertyAccessor.SetProperty), and make sure your HTML refers to the image through the src=cid:xyz attribute (where xyz is the value of the PR_ATTACH_CONTENT_ID property).

    PR_ATTACH_CONTENT_ID property DASL name is http://schemas.microsoft.com/mapi/proptag/0x3712001F

    0 讨论(0)
提交回复
热议问题