EWS管理api:有没有办法确定电子邮件或附件是否加密?

时间:2014-10-21 11:58:21

标签: outlook exchangewebservices

EWS托管API是否公开任何属性以识别项目(电子邮件/附件)是否已加密?

1 个答案:

答案 0 :(得分:1)

 var isEmailOpaqueSignedOrEncrypted = false;

if (email.ItemClass == "IPM.Note.SMIME")
{
    var attList = email.Attachments.ToList();
    if (attList.Count == 1)
    {
        isEmailOpaqueSignedOrEncrypted = true;
    }
};