I am preparing the iOS(iPhone and iPad) mail application using the MailCore framework. I want to fetch the mails periodically from the server for all the folders. Is there any procedure to ping the server periodically and check the arrival of the new mails. So that Whenever new mail comes it will load in the INBOX.(As NSTimer does not work for it).
Please help.
Thanks.
You need to create an NSTimer that fires at whatever interval you want.