Quantcast
Channel: ImapX 2
Viewing all articles
Browse latest Browse all 1952

New Post: AppendMessage() to accept ImapX.Message

$
0
0
Hi MattyBear,

the Message.ToEml method is buggy and now I'm working on migrating the library to use MimeKit. At the moment you can use the Message.DownloadRawMessage method.

From your explanation it seems that the name of the DownloadRawMessage method was a bit misleading. The method returns a string containing the EML data directly, so there is no need to call ToEml.

Here is a quick sample:
var eml = msg.DownloadRawMessage();
remoteFolder.AppendMessage(eml);
You can use it as a temporary solution until the next version is out.

Greets,

Pavel

Viewing all articles
Browse latest Browse all 1952

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>