Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>An EWS subscription is tied to a single mailbox - you can't subscribe across multiple stores yet (<em>tested on Exchange 2010</em>).</p> <p>You can subscribe to multiple folders within a mailbox using <a href="http://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.exchangeservice.subscribetopullnotifications%28v=exchg.80%29.aspx" rel="nofollow"><code>SubscribeToPullNotifications()</code></a> passing in the <code>IEnumerable&lt;FolderId&gt;</code> for all the mailbox folders (<em>Inbox, Sent Items, etc.</em>) you want to subscribe to. </p> <p>You would need to use a delegate account that has access to all users mailboxes - which it sounds like you already have. </p> <pre class="lang-cs prettyprint-override"><code>FolderId folder1 = new FolderId(WellKnownFolderName.Calendar, new Mailbox("email@email.com")); FolderId folder2 = new FolderId(WellKnownFolderName.Calendar, new Mailbox("email2@email.com")); var folderIds1 = new FolderId[] { folder1 }; var folderIds2 = new FolderId[] { folder2 }; var trackedEvents = new EventType[] { EventType.Deleted, EventType.Created, EventType.Modified } PullSubscription subscription1 = service.SubscribeToPullNotifications(folderIds1,10,null,trackedEvents); PullSubscription subscription2 = service.SubscribeToPullNotifications(folderIds2,10,null,trackedEvents); // call subscrition.GetEvents() to retrieve new entries GetEventsResults subEvents1 = subscription1.GetEvents(); GetEventsResults subEvents2 = subscription2.GetEvents(); </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload