Mail properties are null

Topics: Help requests, Issues
Jan 21, 2016 at 11:21 AM
I managed to read mails using your library incl. body & attachments but basic mail properties (subject, from, to) are all null on the mail object. I initialize the client with following behaviors:

_mailclient = new ImapClient
                Behavior =
                    AutoPopulateFolderMessages = true,
                    MessageFetchMode = MessageFetchMode.Full,
                    AutoDownloadBodyOnAccess = true,
                    RequestedHeaders = new[] { "Message-Id" }
Jan 21, 2016 at 5:45 PM
The ImapX maintainer seems like he might be really swamped at work again because he's been pretty quiet on these forums the past few months, so I've been trying to help answer questions. Unfortunately, I'm not very familiar with ImapX internals so I can't really help answer your particular question regarding ImapX, however, I wrote my own IMAP library called MailKit that I'd be able to help you with if you need answers right away.

My email address is listed on my github page and I'd be happy to answer any questions you have if you decide to try MailKit, otherwise, hopefully someone else will chime in with a solution for you.

Good luck!
Jan 23, 2016 at 11:02 PM
Thanks Jeff,

MailKit is unfortunately not an option as we need .Net 3.5 support.

I have evaluated couple libraries both open source and licensed software, and have decided to use Mail.dll from