I searched a lot and could not get any component, library or code snippet available to do this in Flash/Flex/AIR.
So, I thought of developing a small library of my own and sharing it with the community. And here it is…
IMAP/POP Email Validator
This is a small set of class library which Flex/AIR developers can use to validate any IMAP or POP email logins. This does NOT use Coldfusion or LCDS server in the backend. This connects to given IMAP/POP server using Flash Socket and executes required commands to validate the login.
Checkout the above Sample ( Save the SWF locally and play with it )
Due to cross domain restrictions in Flash Player, when this application is hosted on any domain other than mail server’s domain, a “crossdomain.xml” file needs to be configured and kept on the mail server.
But, this issue does not come in AIR based applications and Flex applications that are running locally.
So, grab a copy, check out the samples and try it with your Intranet/Internet apps..