How to Load and Decrypt the message fetching from IMAP server in MailMessage

0 votes
asked Jun 14, 2016 by Sigamani (480 points)

How to Load and Decrypt the message fetching from IMAP server in MailMessage without directly Loading mail from local

Applies to: Rebex Secure Mail

1 Answer

+1 vote
answered Jun 14, 2016 by Lukas Pokorny (102,130 points)
  1. Connect/authenticate to the IMAP server, select the folder and locate the message (details).
  2. Download the message into an instance of MailMessage object using Imap object's GetMailMessage method (details).
  3. Decrypt the message using MailMessage object's Decrypt method (details).
...