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
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