Extract Data from MHT?Back
Does your product knows how to read MHT files and extract the data from it?
Answer:
This is a very important bit of information to know: Both simply contain MIME text. You can save (almost) any web page from Internet Explorer as a .mht (web archive), rename it by giving it a .eml extension, and then double-click on it. You’ll notice that the default application for .eml is Outlook Express. It will display the HTML “email”, but with no From, To, CC, or Subject. You may then add these and send the email. With Chilkat, if you already have a .mht file, you may load it into an email object by calling Chilkat.Email.LoadEml (or Chilkat.Email.SetFromMimeText), then set the Subject & From properties, and then call AddTo/AddCC/AddBcc for each recipient, and send. |