Ok, so my app basically checks multiple mail accounts for incoming messages every 5 minutes.
I know about threads but have never coded a multi threaded application. What's the best way to go about this?
Start the thread, have it call an instance method to check for mail, and then let it sleep for 5 minutes? Basically call it within an infinate loop?