login about faq

I am currently evaluatiing your mailman Active X for Delphi, and am very impressed with the functionality. What I am trying to do is to store emails into a database, and I would like to avoid as much as possible saving to disk, and then loading from disk into a menmory stream and then saving to database. Is there a direct way I can do this ? Thanks

asked Aug 17 '12 at 21:17

Softsmith's gravatar image

Softsmith
1111


Yes, the string returned by ChilkatEmail2.GetMime() is the complete MIME of the email (which includes all attachments). It is exactly what is saved to a .eml file when calling SaveEml. You may store the string returned by GetMime() into your database. To re-load an email object instance from the MIME, call ChilkatEmail2.SetFromMimeText(mimeStr)

link

answered Aug 18 '12 at 08:35

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:

×7
×3

Asked: Aug 17 '12 at 21:17

Seen: 1,231 times

Last updated: Aug 18 '12 at 08:35

powered by OSQA