Encrypted Mail Message is not encrypted for Aspose

Hello,

i attached three encrypted Mails, but the IsEncrypted property returns always false.

using (var msg = MailMessage.Load(InputFile))
{
if (msg.IsEncrypted) return true;
}

What am i doing wrong? How can i check reliable if a Mail (.msg file) is passwort protected or encrypted?

Kind regards,

AndyTest.zip (73,7 KB)

Hello, @AStelzner

Your messages are encrypted with PGP encryption, while Aspose.Email can only handle messages that are encrypted with S/MIME. I have added EMAILNET-35023 ticket so we can implement PGP encryption messages handling as well.
Sorry for the inconvenience. Thanks.

1 Like