Can you tell me if it is possible to create an email from an mhtml file. This is a file saved from word and does not include the email headers so spose.Network.Mail.MailMessage.Load() does not work.
My requirements are:
1. Save a word document to mhtml (*.mht).
Create an email message using the mhtml as the body
Create a text representation of the mhtml for the plain text part.
Add addressing information & additional attachments
send the email.
Any help appreciated
Ignore that Aspose.Network.Mail.MailMessage.Load() seems to work now - not sure why it failed before.
So, I have managed to send the mhtml and it is appearing in the body - however all of the in-line images are removed and appear as attachments to the email (in Outlook 2003 & 2007).
Any idea how I can prevent that?
Could you please post/send us the mht file for testing.
I’ve recreated easily.
- created word document
- added some text
- copy/paste an image from web browser
- save as .mht file.
Attached is a screen shot of the message in OL2007 and a zip file with the mht file in.
We are checking the issue and get back to you soon.
Did this ever get fixed?