Outlook VML base64映像

Outlook VML base64映像,outlook,base64,outlook-2007,vml,Outlook,Base64,Outlook 2007,Vml,我使用Outlook 2007的html签名。签名包含一些图像文件。我想嵌入图像文件,所以它不应该在附件上。但是v:image不显示图像 <!--[if gte vml 1]> <v:image style="width:104px;height:108px;" src="data:image/jpg;base64,/9j/4AAQSkZ......AgEAgEAgEAgEAgP//Z"> </v:image> <![en

我使用Outlook 2007的html签名。签名包含一些图像文件。我想嵌入图像文件,所以它不应该在附件上。但是
v:image
不显示图像

<!--[if gte vml 1]>
    <v:image style="width:104px;height:108px;" src="data:image/jpg;base64,/9j/4AAQSkZ......AgEAgEAgEAgEAgP//Z">
        </v:image>
    <![endif]-->
    <![if !vml]><img width=104 height=108
src="data:image/jpg;base64,/9j/4AAQSkZJR...AICpUuZdbmkMBXsnT3knOxse8nkcs+B4iAtsAgEAgEAgEAgEAgEAgP//Z" alt="footer_logo.jpg" v:shapes="Resim_x0020_4"><![endif]>

Outlook使用Word渲染图像,而Word不支持嵌入(src=“data:image”)图像。您需要将图像作为文件附加,在附件上设置PR_attach_CONTENT_ID属性(attachment.PropertyAccessor.SetProperty),并确保HTML通过src=cid:xyz属性引用图像(其中xyz是PR_attach_CONTENT_ID属性的值)

PR_ATTACH_CONTENT_ID属性DASL name是
http://schemas.microsoft.com/mapi/proptag/0x3712001F