1

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

Nipun35
  • 275
  • 2
  • 9
  • I've heard better things about MailCore. Besides, Pantomime is under the LGPL license, which forbids you to use it in a commercial product. Make sure you know the license before you spend a lot of work implementing that library. – sudo rm -rf Apr 10 '12 at 07:23

1 Answers1

0

You need to fire a timer which send noop command to server and repeat this for a set time interval. Then if there are new mails you will get the new mails in response from server. Then you can parse response and display to user.

Rahul Vyas
  • 28,260
  • 49
  • 182
  • 256