querying outlook inbox folder based on user property RRS feed

  • Question

  • hi,

    how to query inbox folder of outlook based on user property which has been assigned to mails.

    Friday, November 11, 2011 9:29 AM


  • If the user property was added to the folder fields, you can just use the property name (e.g. MyProperty = 'Some value')

    Otherwise you will need to specify the property name in the DASL format (the DASL name needs to be encludes in double quotes), e.g.

    "{00020329-0000-0000-C000-000000000046}/MyProperty" =   'Some value'

    Dmitry Streblechenko (MVP)
    Redemption - what the Outlook
    Object Model should have been
    Version 5.2 is now available!

    Saturday, November 12, 2011 3:13 AM