Solved

Listen for incoming email - Exchange Server

Posted on 2009-05-11
4
352 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
API v SOA 8 42
Active Directory Account getting mysteriously locked 13 80
asp.net figure out error 3 26
Exchange 2007 6 23
Read this checklist to learn more about the 15 things you should never include in an email signature.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

726 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