若是在MIME格式邮件的正文中包含附件,那么直接使用@Attachments公式是没法计算到的。咱们在项目中发现了这个问题,并且Notes邮件模板一样存在。ide
Designer help中有以下说明:spa
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的邮件模板为何不这样使用。ci
相似的公式还有@AttachmentNames、@AttachmentLengths。it