Free Support Forum - aspose.com

Html emails display the contents collapsed when compared to msg

Hi
I am using latest asopose email dll…
But when i save msg as html the contents colllapsed.
Please Find the Attachment.

Thanks!
SureshEmails.zip (94.0 KB)

@sureshkumarg

Can you please share the source that you have used for export to HTML.

this is my code i am using for saveing the msg as html.
objectName = txtPstFldr + “\message” + “" + fileName + "” + Now.Ticks.ToString
Dim NewObject As String = objectName + “.mht”
Dim options1 As MhtSaveOptions = SaveOptions.DefaultMhtml
options1.MhtFormatOptions = MhtFormatOptions.WriteHeader Or MhtFormatOptions.WriteCompleteEmailAddress Or MhtFormatOptions.DisplayAsOutlook
options1.FormatTemplates(MhtTemplateName.DateTime) = “dd-MM-yyyy hh:mm:ss tt”
msg.TimeZoneOffset = TimeZone.CurrentTimeZone.GetUtcOffset(msg.Date.ToLocalTime)
msg.Save(NewObject, options1)
Dim message1 As MailMessage = MailMessage.Load(NewObject)
message1.Save(objectName + “.html”, SaveOptions.DefaultHtml)
File.Delete(NewObject)

@sureshkumarg

I have created a ticket with ID EMAILNET-40012 in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

hi can you give me a update on this when it will fixed.

@sureshkumarg

I have verified from our issue tracking system and regret to share that at present the issue is still unresolved. We request for your patience and will share the good news with you as soon as the issue will be fixed.