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


    shilpakrishna
    Friday, November 11, 2011 9:29 AM

Answers

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

    "http://schemas.microsoft.com/mapi/string/{00020329-0000-0000-C000-000000000046}/MyProperty" =   'Some value'


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.2 is now available!

    Saturday, November 12, 2011 3:13 AM