EWS托管API是否公开任何属性以识别项目(电子邮件/附件)是否已加密?
答案 0 :(得分:1)
var isEmailOpaqueSignedOrEncrypted = false;
if (email.ItemClass == "IPM.Note.SMIME")
{
var attList = email.Attachments.ToList();
if (attList.Count == 1)
{
isEmailOpaqueSignedOrEncrypted = true;
}
};