login about faq

Currently it is possible to get a xml string from an Email object, and then to load from that xml string without any file system I/O: Email.GetXml() and then Email.LoadXmlString(string xmlStr)

I would like to ask to have the same capability for .eml files: Email.GetEml() and then Email.LoadEmailString(string emlStr). Right now, I have to use Email.SaveEml(string filename) and then Email.LoadEml(string mimeFilename), which require me to use a temporary filename which is not satisfactory.

Thanks, Alon.

asked Apr 03 '13 at 06:00

Alon%20Weiss's gravatar image

Alon Weiss

The functionality is already there. To load an Email object from a MIME string, call Email.SetFromMimeText (or SetFromMimeBytes to load from a MIME byte array -- if the MIME contains unencoded binary content).


answered Apr 03 '13 at 07:56

chilkat's gravatar image

chilkat ♦♦

edited Apr 03 '13 at 07:56

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Apr 03 '13 at 06:00

Seen: 972 times

Last updated: Apr 03 '13 at 07:56

powered by OSQA