0 votes
by (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
by (145k 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).