I am creating a mail client using IMAP (It is a mac application using Pantomime framework). I am able to fetch all messages and folders etc.
When a new mail is recieved it is shown when the user logs-out and then logs-in again.
Is there any event that is fired when a new mail is received ? or Is there any other way I can show the user about new messages ?
Thanks