With our application we are archiving emails via IMAP using Aspose.Email (22.214.171.124).
If an email is formatted in RTF, I get as BodyType “PlainText”. Is this an error or does Aspose internally convert the body?
CurrentMessage = Client.FetchMessage(this.CurrentItem.UniqueId);
Aspose.Email.Outlook.BodyContentType bodyType = CurrentMessage.BodyType;
Is there another way to find out the body type of the original email?
I tried version 126.96.36.199, but I get the same result: The
e-mail formatted in rich text format, after I fetch the message with
Aspose via IMAP I get the BodyType “PlainText”.
I do not use Exchange, but hmailserver as mail provider.
as attachments I am sending you the desired emails that I made with Outlook.
I see that your code funtions correctly.
My problem occurs,when I am downloading from an IMAP server an email that is in rich text format . Then, as I said before, I get as BodyType plainText.
ImapClient client = new ImapClient();
CurrentMessage = client.FetchMessage(this.CurrentItem.UniqueId);