1

We are generating mht file using Redemption dll in C#.net.

We are getting body part from .msg using rdoMail.HTMLBody..and create mht file using this value.

But created mht file not able to print using word instance..or word can not able to open it with data written after < body> tag.

find sample mht file having issue with word instance, https://drive.google.com/open?id=0B12pIBigSgsfdThQTTZXelp3UWM

Is there any resolution for this kind of issue, as the html body return by rdoMail.HTMLBody property having that < body> and < html> tags which ends before Disclaimer content of Mail..

Note: We are using word 2013.

Find attached image file having reference of PR_HTML value..

Thanksenter image description here

Thanks

Viral
  • 363
  • 2
  • 4
  • 14

1 Answers1

0

Why not simply create an MHTML file using RDOMail.SaveAs(.., olMHTML)?

Dmitry Streblechenko
  • 62,942
  • 4
  • 53
  • 78