login about faq


I have a requirment and planning to use chilikat dll.Can i save an email attachment(attachment which is email ) in .msg format .

I need to save the attachments contents to DB.And user must have the ability to view the email attachment through outlook.

asked May 14 '14 at 01:45

Sudhish's gravatar image


If what you mean by .msg format is the Microsoft-specific binary format for Outlook, then I'm sorry to say that Chilkat does not have this capability.

Sometimes however, people give standard MIME emails a ".msg" file extension, which is the same as .eml. For that, you can call email.GetAttachedMessage, which returns the attached email as an email object, and then you can call SaveEml to save the attached message. For example, in pseudo-code:

attachedMessage = email.GetAttachedMessage(0);
success = attachedMessage.SaveEml("attachedMessage.eml");


answered May 14 '14 at 09:58

chilkat's gravatar image

chilkat ♦♦

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: May 14 '14 at 01:45

Seen: 2,089 times

Last updated: May 14 '14 at 09:58

powered by OSQA