Solved

Listen for incoming email - Exchange Server

Posted on 2009-05-11
4
346 Views
Last Modified: 2012-06-27
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?

Thanks,
Jonathan
0
Comment
Question by:BobBarker_99
  • 2
  • 2
4 Comments
 
LVL 15

Expert Comment

by:zelron22
ID: 24355050
How many mailboxes are we talking about?  If we're not talking about many, I'd say just crank it down to check every minute.
0
 

Author Comment

by:BobBarker_99
ID: 24355073
Right now its just a few, but eventually it coul d be several hundred
0
 
LVL 15

Expert Comment

by:zelron22
ID: 24357105
It will still probably be fine.  Exchange servers can have thousands of mailboxes, so I can't see how, unless the server isn't that great or it's misconfigured, having mailboxes polled once per minute would be much of an issue.  Even if you have 600, that's only 10 mailboxes per second.  So unless the mailboxes have a lot of traffic and lots of large files...
0
 

Accepted Solution

by:
BobBarker_99 earned 0 total points
ID: 24364558
It is possible to listen to events using exchange web services.
http://msdn.microsoft.com/en-us/library/aa579617.aspx details how to do it.  
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now