Aspose.Email - Show or Hide Extra Print Headers

MailMessage message = MailMessage.load("data/message.eml");
String encodedPageHeader = "<div><div class=3D'page=Header'>&quot;Panditharatne, Mithra&quot; &lt;mithra=2Epanditharatne@cibc==2Ecom&gt;<hr/></div>";

int saveOptions =  MailMessageSaveOptions.HideExtraPrintHeader;
message.save("data/AsposeHideExtraHeaders.mhtml", MailMessageSaveType.getMHtmlFormat(), saveOptions);

Download Source Code
For More Examples, Please Visit Aspose Docs

Last edited Jun 11, 2014 at 7:32 PM by shoaibkhan, version 2