"Raw" view of message

Mar 10, 2009 at 6:45 AM
I was wondering if there's any way to view the full "raw" contents of an IMAPMessage. So for example, something like this.

Thanks in advance!


This is a multi-part message in MIME format.

Content-Type: text/html; format=flowed

<html><div style='background-color:'><DIV class=RTE></DIV>
<P>Ok, here are the attachments...</P>
<P>Pray for me as I am not very PC savvy - obviously!! <IMG height=19 src="http://graphics.hotmail.com/i.p.emsmiled.gif" width=19><BR><BR><BR>DeDe Williams </P>
<DIV></DIV>612-483-2188 (cell)

Content-Type: application/msword; name="SCC Ladies Mtg. Invite.doc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="SCC Ladies Mtg. Invite.doc"


(this goes on for a long time, and then the email ends like this)


Mar 11, 2009 at 9:26 AM
Looks like a fairly simple change required to IMAP.cs to add this method. Given time I'll have a go - if anyone wants, feel free to step in and help!

Mar 11, 2009 at 10:14 PM
Hey Adam,

What would be the benefit/purpose of getting the message data in its raw format?

Also, i would recommend you now take a look at the Async version of the library. I just checked in a major update this afternoon that should make using the library much easier. The old synchronous (IMAP.cs) code base is no longer being updated.

Let me know if you have any questions or problems using the new async code.

Mar 12, 2009 at 9:47 AM
I'm writing a small mail migration program and not having to reconstitute the mime message would be handy!
A couple of other IMAP providers allow for it but naturally I want to use InterIMAP! :)