most of social networks does this. when you register one of them for example twitter it says why dont you invite your friends from hotmail or yahoo or gmail. and expect us to give our credentials and send those mails. I want to implement same feature in java.
I tried http://code.google.com/p/contactlistimporter but it has a problem with hotmal.
can you suggest me nice another library ?
Each of these email providers has its own API:
There are usually Java samples that you can use to start your work. I've been using Google Data API to successfully download my GMail contacts and Google Docs&Spreadsheets.
There seem to be commercial Java libraries for what you're asking for. Some of them are:
I'm not aware of any open-source Java libraries offering a general access to all of these three email providers. There's one for PHP called Open Inviter which supports 10+ networks (if the big three you mentioned could be considered as such at all).
Also, Plaxo has kicked off an effort called Portable Contacts (and draft specification looks promising) but this is at a very early stage. Anyway, I wouldn't Portable Contacts to solve your problem and that won't happen in the next 6+ months anyway. It's something they're doing to advance their business in backing up peoples' address books, creating a more natural network around it and advancing data portability in general with such a strong competition from Google, Facebook and MySpace.
Other than that, I don't think there's anything feasible at the time of this writing. Otherwise I would find it. ;-)
Cheers!
Shonzilla