views:

4128

answers:

5

Hi, I'm looking for library/API to retrieve contact list (emails address to which user had sent mail to, regardless whether user had explicitly added it as contact ). Anybody know such library/API available there?

Thanks

kandy

A: 

I don't think that data would ever be held outside the email headers. What you want is some way to find all the unique addresses in the recipent field of all sent mail items.

For example in Google mail - you could use this project, the Gmail Agent API, to retrieve all the sent item headers. You would then just need to extract the relevant data from them.

I'm sure this technique is possible is for some of the other providers you mention. The Yahoo Api for example looks to provide everything you need to do this.

Fraser
Thanks Fraser.How about MS's hotmail/live mail? I don't hope to use the last solution of using curl library and parse the contact list page passively.
AFAIK Hotmail only provides POP3-access to premium customers. There is no Api that would let you pull the sent items subject headers...
Fraser
+1  A: 

Look at: http://openinviter.com/index.php

jean
A: 

Look at Octazen: http://octazen.com/. Their software handles all kinds of webmail systems and social networks.

rifferte
Unfortunately Octazen was acquired by Facebook on February 2010 and they don't offer it's solutions anymore.
Alexandre L Telles
A: 

To get (some) details out of Facebook, I've just found (and used!) the Greasemonkey-script/webservice from http://brad.livejournal.com/2398409.html to pull at least the names and some details from Facebook to Google contacts, from where it can be gotten at by other means, such as the Gmail contacts API

Alister Bulman
+1  A: 

If you are using php - you might wish to try out http://openinviter.com - its free and supports almost all major social networking sites and mail sites.

Ali