Raw message content

Jul 7, 2009 at 8:32 AM

I have been poking around in the sourcecode but cannot find any reasonable way to get the raw message data/body, with or without headers since those are separated in imap, i would like to use my own message decoder (or rather another open source mime decoder)

Is there any recommended way to do that?

Coordinator
Jul 30, 2009 at 5:40 AM

What open source mime decoder are you trying to use maybe we can use it in to this library long as its not GPL or some other copyleft license.

Jan 22, 2010 at 3:52 AM

Possan, did you ever get anywhere with the raw message content? I want this for archival purposes. The header handling is nice, but doesn 't help if you want a copy of the raw eml

Jan 22, 2010 at 10:12 AM

I dont really remember, i think i got it by using the Data property of the BodyPart object (i dont remember if i added that property myself or if it was available before)

The code using it is available in my project svn: http://code.google.com/p/nmailer/source/browse/trunk/Mailer.Utilities/MailPoller/Poller.cs#118