View X-Headers as fields?

  • Thread starter Thread starter Matthew Finnigan
  • Start date Start date
M

Matthew Finnigan

Is there any way to add the contents of an X-Header to a folder view in
Outlook? Our mailserver tags an extra header in like so:

quote: X-Spam-Flag: YES

I tried adding a field in Outlook via : View->Current view->Fields-> New
Field...
Name: X-Spam-Flag
Type: Text
Format: Text

But, although this gets added to the columns in Table view, this field
doesn't fill in. Am I doing something wrong?
 
The Internet headers are not available for viewing in a table view.
 
The Internet headers are not available for viewing in a table view.

OK. Not the answer I wanted, but OK. I'm curious- then what does one use
User-Defined fields for?
 
For whatever you want. You could define a user defined field for special
information you want to store in an item, perhaps for children's names in a
contact item for example.

The Internet headers are only accessible using CDO or Extended MAPI or
Redemption code, not even Outlook object model code. And they are restricted
when using CDO code because you can harvest email addresses from the
headers.

To see an example of CDO code that displays the Internet headers see
http://www.slovaktech.com/code_samples.htm#InternetHeaders
 
The code would run under Outlook VBA or VB 6. You need CDO 1.21 because the
Internet headers aren't exposed to the Outlook object model. You can also
use Extended MAPI, which has a long learning curve and can only be
programmed using C++ or Delphi.

Why aren't the headers exposed to the Outlook object model? Beats me. You'd
have to ask Microsoft. We've been asking for years for a complete Outlook
object model so we don't have to use other object models or API's to get at
things but we don't have it.
 
Back
Top