How to read and send the content of word document including image as same as in the
word document and send as a html mail to the recipient.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Zain Barter2 reputationPosted Jul 9, 2015, 7:17 AM EDT
In both cases, parsing word document and then try to write the HTML elements (tags) would be rather waste of time and the overall display might not be good.
You could try LEADTOOLS library that has the ability for loading word documents and saving HTML file. see this link:
http://demo.leadtools.com/clickoncedemos/V19/CSDocumentConverterDemo/default.htm
Now you can either send the result as attachment in the email, or you can read the HTML file content and then create email with that content.
See the following help about how to generate HTML email:
http://stackoverflow.com/questions/886728/generating-html-email-body-in-c-sharp
Alex SmithRank #4,089 · 366 reputationPosted Jul 9, 2015, 11:49 PM EDT