You would probably want to use Yahoo's mail API, Google's mail API, etc, for this.
I wouldn't do it. Personally, when somebody asks me for a user name and password to my email inbox, I tell them where they can stick a password.  Even the largest, most well known and reputable sites, I'm not giving out my info to. As Chris said, this will almost certainly require server side codee on your part, and that means you could easily write code to save my credentials in your database, and do anything you'd like with them. Because the code ( "script") lives on your server, I have no way of knowing if it does save my stuff.
That said, it would be possible to use JavsScript and only pull data off the current page, so people would have to navigate to their address book, then run your code. I think it would have to be a browser plug in to do that, though?
|