html电子邮件Outlook要求下载图像 [英] html email outlook asks to download images

查看:64
本文介绍了html电子邮件Outlook要求下载图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能绝对没有做到这一点的方法,而且它可能也被皱眉了.当我向Outlook发送html电子邮件时,有时会询问用户是否要下载图像,有时会只是加载.我的第一个问题是为什么?我的第二个问题是,有没有办法防止Outlook询问并自动下载图像,还是只有用户才能执行的操作?

There may be absolutely no way to do this, and it might also be frowned upon. When I send a html email to outlook, the user is sometimes asked if they want to download the images and sometimes they just load. My first question is why is that? And my second question is, is there a way to prevent outlook from asking and have the images auto download, or is that something only the user can do?

推荐答案

如果图像是嵌入式图像附件,则不会出现提示.

If the images are embedded image attachments, there won't be a prompt.

如果HTML引用了外部图像,则该消息必须带有特殊的属性标记,该属性不能传输,只能由最终用户或通过编程方式在本地设置(PR_BLOCK_STATUS属性-参见[MS-OXOMSG]的摘录.pdf以下.

If the HTML references external images, the mesage must be stampted with a special property that cannot be transmitted and can only be set locally, either by the end user or programmatically (PR_BLOCK_STATUS property - see an excerpt from [MS-OXOMSG].pdf below.

如果您使用的是兑换,则可以使用RDOMail.DownloadPictures属性设置该属性: http://www.dimastr.com/redemption/RDOMail.htm

If you are using Redemption, can set set that property using RDOMail.DownloadPictures property: http://www.dimastr.com/redemption/RDOMail.htm

2.2.1.1 PidTagBlockStatus

2.2.1.1 PidTagBlockStatus

类型:PtypInteger32 8

Type: PtypInteger32 8

指示用户对查看外部内容(例如链接)的偏好 到邮件正文中的HTTP服务器上的图像).客户可以忽略此 重视并始终基于其他因素允许或阻止外部内容 (例如发件人是否在安全列表中).如果使用此属性, 那么默认操作是阻止外部内容.但是,如果 该属性的值在一定范围内,然后查看外部 内容是允许的.允许值是从 PidTagMessageDeliveryTime:由于邮件的发件人没有 知道此值后,发送方将无法可靠地将PidTagBlockStatus设置为 允许的值.

Indicates the user's preference for viewing external content (such as links to images on an HTTP server) in the message body. A client MAY ignore this value and always allow or block external content based on other factors (such as whether the sender is on a safe list). If this property is used, then the default action is to block the external content. However, if the value of this property falls within a certain range, then viewing external content is allowed. The allowed value is computed from PidTagMessageDeliveryTime: since the sender of a message does not have knowledge of this value, the sender cannot reliably set PidTagBlockStatus to the allowed values.

要计算允许值,请转换为 PidTagMessageDeliveryTime到PtypDouble,floatdate,日期为 表示为从1899年12月30日午夜开始的天数. 以下公式:result =((floatdate-floor(floatdate))* 100000000) + 3; floor(x)返回最大整数? X.转换PtypDouble 将结果值转换为32位整数计算值.客户应设置 将PidTagBlockStatus转换为computevalue,以允许外部内容.但是,当 确定是否接受外部内容,客户应允许 外部内容之间的绝对值之差 计算值,并且PidTagBlockStatus的值等于或小于1.

To compute the allowed values, convert the value of PidTagMessageDeliveryTime to a PtypDouble, floatdate, where the date is represented as the number of days from midnight, December 30, 1899. Apply the following formula: result = ((floatdate - floor(floatdate)) * 100000000) + 3; where floor(x) returns the largest integer ? x. Convert the PtypDouble value result to a 32-bit integer computedvalue. Clients SHOULD set PidTagBlockStatus to computedvalue to allow external content. However, when determining whether to accept external content, clients SHOULD allow external content if the absolute value of the difference between computedvalue and the value of PidTagBlockStatus is 1 or less.

这篇关于html电子邮件Outlook要求下载图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆