Archived Forum Post

Index of archived forum posts

Question:

How to get full email Stream with Imap, including digital signature

Apr 23 '15 at 20:33

Hello,

i'm trying to get the full email stream from a Imaps server in c#, including digital signature. Using the FetchMime method in the MailMan class i can do this, but i don't see any similar method (returning a stream or a buffer)in the imap one. How can i do this? I need to save a file that can be opened in the future with Outlook,without losing the digital signature.

Thank you, Stefano


Answer

The IMAP methods are FetchSingleAsMime, FetchSequenceAsMime, and FetchBundleAsMime.