Back to Samples
Decrypt e-mail in IMAP/POP3 inbox
Downloads last e-mail from IMAP or POP3 inbox and decrypts it, also checking its
signature. It's assumed the e-mail is encrypted or signed with S/MIME.
You'll need to provide your private certificate to decrypt encrypted messages.
In some rare cases, you'll also need to provide additional certificate store of
trusted certification authorities if they are missing in the system store. This may
be required for checking signatures.