IMAP/POP Email validation in AIR/Flex

22 04 2008

I was developing an AIR application recently and wanted to validate the email credentials of the user.

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.

Example

E-Mail Validator Example Screenshot

Checkout the above Sample ( Save the SWF locally and play with it )

Download source

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..

About these ads

Actions

Information

4 responses

5 08 2008
Bryan Bartow

What license, if any, is this code released under? I’d like to use it in one of my upcoming projects.

6 08 2008
srinivasannam

I’m releasing this code library under “Public Domain” license and you are allowed to use it with/without changes in any of your personal/commercial projects.

Please refer to the below link for further details about this license type.

http://www.gskinner.com/blog/archives/2008/07/source_code_lic_1.html

5 02 2009
Aral Balkan

Hi Srinivas,

Very cool; looking forward to playing with it. Thanks for sharing this :)

9 04 2009
Giles Roadnight

This looks pretty useful for an app that I have in mind. Does this just verify that the details are correct or does it allow you to view folders / download mail ect.

If it doesn’t I’m sure that it will at least give me a good start.

Thanks

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Follow

Get every new post delivered to your Inbox.

%d bloggers like this: