Query/search emails using CustomProperty name/value pair in MS-Exchange 2010 using EWS RRS feed

  • Question

  • Hello experts...

    I am sending emails through Outlook 2007 and appending an ID in the ItemProperties collection of the Outlook.MailItem object. Below is the code snippet that appends the property...

    Dim oMail as Outlook.MailItem
    oMail = olApp.CreateItem(olMailItem) 'olApp is the instance of Outlook.Application
    oMail.ItemProperties.Add("ProjectID", olText).value = "1234";
    'set other properties (to/cc/sub/body...etc)

    So far I understand, this ID is available in Exchange server with the emails in my sent items.

    Now, I need to search for that particular email in Exchange using this ID (project id = 1234) via Exchange Web Services (EWS).

    Can anyone please provide sample code or some useful links to do this?

    Thanks in advance...

    -Jahedur Rahman

    Friday, January 28, 2011 8:45 AM

All replies

  • Is there anyone who can help me on this? Requesting your attention.

    This is very urgent!

    -Jahedur Rahman

    Sunday, January 30, 2011 6:54 AM