Outlook does not support extraction of data from message headers, unless you want to write CDO or Redemption code in the Outlook VBA environment to do the job.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at
http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"Adrielle" <(E-Mail Removed)> wrote in message news:uGtbcN%(E-Mail Removed)...
> Does anyone know how to add the field "content-type" (that field in the
> email header that indicates whether an email is text or html) as a field
> inside of Outlook?
>
> I received a number of emails containing the Swen worm as an attachment.
> Thankfully I recognized it for what it was, and deleted all copies, ran
> virus checkers etc. But in researching Outlook security (which is
> unfortunately deplorable) I found out that not only can I get into trouble
> by opening the attachments, but I can trigger scripting bugs by viewing the
> email (I've turned that off and I'm considering using one of the utilities
> out there to renders viewing unusable) and even reading a text email (a
> problem with Outlook Express 6). So I'm doing all that I can to protect
> myself.
>
> In particular, I would like to have a field inside out outlook that tells me
> whether the email is text or html. I can see it within the header with
> (View) (Options) but I want to do better than that. Ideally I'd like to sort
> through email from folks that I don't know by the content-type and only read
> the text email. I thought content-type would be another field that I could
> add to a view, but not so. Is there an easy way to do this? If there isn't
> an easy way, does anyone have suggestions about doing this? I can code if I
> have to, although I don't have visual basic on my computer. If you know of
> code for a custom view out there that I can adapt, that would be great. I'd
> rather do this easy if I can. I can't believe nobody else is trying to do
> this.
>
> If I am able to cludge together something that works I will post my findings
> back here.
>
> Thanks!
>
>