IMAP New Email Arrival

I need to build an email check that will login to an IMAP email account with SSL and check to see if any new emails have arrived. If the email count goes UP then I need to send an SMS.

Has anybody done this type of check?

Syndicate content