login about faq

Hi,

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

Sudhish
1122


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");

link

answered May 14 '14 at 09:58

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×2

Asked: May 14 '14 at 01:45

Seen: 1,265 times

Last updated: May 14 '14 at 09:58

powered by OSQA