The emails I download using Maill.dll returns empty string for the Text and HTML property. Hence the GetBodyAsText and GetTextFromHtml method return empty string. Meanwhile, on my Gmail app, I can read the email with text and HTML in it.
How can I fix this?
If IMail.Text is empty and IMail.Html is empty it means, that text/plain and text/html parts are empty.
You might be downloading headers only, instead of downloading entire email.
Double check if you are using Imap.GetMessageByUID method.
If you believe the message is parsed incorrectly, please follow the steps here: https://www.limilabs.com/blog/i-have-problems-parsing-the-message (basically we need to get the raw eml to check)