I'm wanting to use this project as a means of copying messages from one IMAP server to the next for backup.
It is fantastic thus far to get going and I can successfully do most of what I want to do by exporting to an EML and then Importing the EML using AppendMessage on the destination server.
The issue I have is that it doesn't export Attachments this way and some of the bodies save with weird MIME type.
"This is a multipart message in MIME format". Outlook,Thunderbird and Horde don't like rendering it.
It looks to be an issue with any HTML formatted e-mail also.
If I am to use DownloadRawMessage() on the message instead of useing DownloadMessage() and asking for FULL download, it gives me a "Sequence contains no elements" exception when trying to do a ToEml()
Would it be possible to have AppendMessage() accept an ImapX.Message object directly to skip the ToString/FromString workflow? Perhaps the ToEml() is hurting some of the rich elements?
It is fantastic thus far to get going and I can successfully do most of what I want to do by exporting to an EML and then Importing the EML using AppendMessage on the destination server.
The issue I have is that it doesn't export Attachments this way and some of the bodies save with weird MIME type.
"This is a multipart message in MIME format". Outlook,Thunderbird and Horde don't like rendering it.
It looks to be an issue with any HTML formatted e-mail also.
If I am to use DownloadRawMessage() on the message instead of useing DownloadMessage() and asking for FULL download, it gives me a "Sequence contains no elements" exception when trying to do a ToEml()
Would it be possible to have AppendMessage() accept an ImapX.Message object directly to skip the ToString/FromString workflow? Perhaps the ToEml() is hurting some of the rich elements?