Thursday, May 27, 2004

Using the IMF Spam Confidence Level in ADO

With the release of the IMF (Intelligent Message Filter) for Exchange 2003 it got me thinking about how I could use the SCL (Spam Confidence Level) that the IMF stamps on messages in my Exoledb and CDO apps. Running Outlook Spy against a message that went though the IMF yielded the answer which is to use MAPI property PR_CONTENT_FILTER_SCL . To use this is in a script is would look like.

set rec = createobject("ADODB.Record")
rec.open "file://./backofficestorage/yourdomain.com/mbx/yourmailbox/inbox/test.EML"
wscript.echo rec.fields("http://schemas.microsoft.com/mapi/proptag/x40760003")

To view the SCL setting in Outlook have a look at the Exchange Team Blog which has a method on how to do this

1 comment:

completely-complete said...

Super blog. I web surf when I have the time for
blogs like this one.Your site was nice and will be
visited again!
I can't explain, but you need to check my blog!