I am currently using the EWS Managed API to subscribe to Pull Notification on an Exchange 2010 server to receive calendar item notifications, and it works fine. As I did this, I got a list of users with their email from the SQL database, and then quoted each of them and signed each of them to Pull Notification using SubscribeToPullNotifications() and then GetEvents() . I subscribe to Created , Modified and Deleted events in the Calendar folder.
I think that this is the best way to receive all notifications from the Exchange server, except that each user will loop over each user, because at all times all users have notifications, only the user if they create, update or delete items in their calendar in MS Outlook will have an event fired from the Exchange server.
For example, 200 users are retrieved from the SQL database, but only 10 of them create a new appointment in MS Outlook, but since I loop each of them, I need to have 200 cycles to receive 10 notifications from this 10 users.
Is there a way to get all notifications from the Exchange server at any time so that you donβt have to iterate over all users to find out if there is any event from the Exchange server? I know it might be better to use Push or Streaming Notification, but I would like to know if there is a better way to do this using Pull Notification?
Thanks.
source share