login about faq

Is it possible to generate an eml file and save it with Information such as from email.put_SendSigned and email.put_SendEncrypted?

I need to save my generated mail for a preview and let the user send it by loading the eml-file later (maybe a few days later, so sending directly is no option here). But SaveEml does not store data about signing or encryption as far as I can see?

Or is it simply only possible to attach these options to CkEMail object while sending directly?

asked Sep 08 '14 at 07:13

RootTag's gravatar image


You may store meta-data in email header fields. Any header field name beginning with "ckx_" is automatically stripped from the header when Chilkat sends email via the SendEmail method. (If you send by calling SendMime, then nothing is stripped.)


answered Sep 09 '14 at 09:58

chilkat's gravatar image

chilkat ♦♦

Hey thank you for the fast response!

Meanwhile I solved it by adding my own header field I "created" and after LoadingEML() I check for the value and act accordingly (depends on stored value if it should be sent encrypted, signed or both).

Your info is great, but in my case it is not a bad thing the new header-field is stored and stays in the mail after sending.

I did not know that ckx_ is stripped after SendEmail(). That might come in handy in another case.


answered Sep 09 '14 at 12:22

RootTag's gravatar image


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: Sep 08 '14 at 07:13

Seen: 2,134 times

Last updated: Sep 09 '14 at 12:22

powered by OSQA