Listen for incoming email - Exchange Server
Posted on 2009-05-11
Right now my program checks (on a timer) for email from a list of inboxes. I want to change it so that instead of checking (say every 5 minutes), an event is fired when a message is recieved. This way I dont waste time/resources polling, and I dont have to wait up to 5 minutes to get an email.
Currently I am checking messages using Exchange web services. Is there a way I can listen for events with ews? Or some other way of doing it?