Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

Unable to get plain text from html

$
0
0
Hi there!

Currently I'm evaluating your api for sending emails with alternative views. Please find attached two documents.
Html_01.txt: Works perfect, I can get plain text via MailMessage.HtmlBodyText method.
Html_02.txt: Doesn't work. I only get the same html text via MailMessage.HtmlBodyText.

I guess the problem is that the second html does contain not only a body part but also a head (complete html document). Is there a simple solution to get the plain text out of this kind of document?

Thank you for your help!
Mike Hachen

Viewing all articles
Browse latest Browse all 1367