troubleshooting Question

Threading a Timer Object

Avatar of Phreak3eb
Phreak3eb asked on
.NET ProgrammingC#
7 Comments2 Solutions278 ViewsLast Modified:
I'm writing a Windows service in C# that needs to periodically, e.g. every minute, check a POP3 mailbox and grab some emails.  The problem being, is that it may take longer than a minute for it to complete processing.  I've been doing some digging on the net and EE on how I might do this and have come up empty.  Here's what I need:

A timer object to fire every 1-5 minutes and start a new thread if needed to do the processing.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 7 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros