+1 vote

We use the Mail.dll to connect our server and for some reason some mail arrives empty, the body of the mail is empty (no text) but in the imap the email.Html == ""

If we open the .eml file in Outlook it has content do you know why?

by

1 Answer

0 votes
 
Best answer

HTML data are not required to be present in every mail.

For example only text/plain content can be present. Use IMail.Text property to get it.

You can also use IMail.GetBodyAsHtml() method. It converts plain text to HTML, if
HTML data aren't available.

by (301k points)
...