login about faq

I just noticed an issue with using the ComputeGlobalKey method on the ckoEmail object. That method gave me different values between calls to first get the message with the header only and then subsequently pulling the full message. This only happened on email from a particular sender. I didn't notice this with other messages.

asked Feb 09 at 12:23

scottag's gravatar image


Hi Scott,

The global key is the MD5 hash of the following header fields: Message-ID, Subject, From, Date, To. (I'm sure you knew this.) If the headers are different, then the global key will be different.

Please do this:
1) Get the message header-only and save the email header to a file via emailObject.SaveEml.
2) Then get the full message, and again save it via emailObject.SaveEml.

Examine the header fields of both to spot any differences in the mentioned header fields.


answered Feb 10 at 07:21

chilkat's gravatar image

chilkat ♦♦

edited Feb 10 at 07:21

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: Feb 09 at 12:23

Seen: 512 times

Last updated: Feb 10 at 07:21

powered by OSQA