如果在MIME格式邮件的正文中包含附件,那么直接使用@Attachments公式是无法计算到的。我们在项目中发现了这个问题,而且Notes邮件模板同样存在。
Designer help中有如下说明:
Syntax
@Attachments(
excludeMIMEBody
)
Parameters
excludeMIMEBody
Boolean. Optional.
• Specify True (1) to exclude large MIME parts that are stored as p_w_uploads (but displayed in-line). This is the default.
• Specify False (0) to include large MIME parts that are stored as p_w_uploads (but displayed in-line).
实验证明,其实通过指定参数 excludeMIMEBody = 0 是可以计算到MIME邮件正文的附件的。不知道这样用是否有什么问题,Notes的邮件模板为什么不这样使用。
类似的公式还有@AttachmentNames、@AttachmentLengths。
转载于:https://blog.51cto.com/xpages/554317