none
EWS managed API - HOW TO GET MESSAGE ID RRS feed

  • Question

  • For every mailbox how to filter emails by query string and get their message ID? I could not find any specific API that does that directly. For example I want get message Id of emails in every folder in every mailbox that have subject:trump

    Please point me to the right direction

    Friday, January 5, 2018 6:09 AM

All replies

  • Which Message Id are you referring to EWSId, InternetMessageId, Mapi EntryId ?

    EWS isn't the best way of going about this I would suggest Search-Mailbox instead https://technet.microsoft.com/en-us/library/dd298173%28v=exchg.160%29.aspx as this is designed to do what your asking.

    Cheers
    Glen

     
    Sunday, January 7, 2018 10:26 PM