views:

239

answers:

2

Is there any good c# library that extracts gmail,yahoomail and AOL contacts? Any suggestion...

I looked at Opencontacts.net and i used opencontacts.dll in my asp.net web application but i can't able to make it work... It shows an error Could not load file or assembly 'Utilities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.....

I did this,

OpenContactsNet.GmailExtract gm = new OpenContactsNet.GmailExtract();
NetworkCredential nw =new NetworkCredential("[email protected]","***");
OpenContactsNet.MailContactList ml = new OpenContactsNet.MailContactList();
gm.Extract(nw, out ml);

I am in search of any other c# library which would do my needs....

+3  A: 

I haven't seen a good one that works with all of them. Its fairly easy to consume the individual services individually as there is .net examples for all of them. I would probably consume them individually any ways and then maybe extract a common interface if possible so that other popular webmail services could be added as needed.

Yahoo: http://developer.yahoo.com/addressbook/

Gmail: http://code.google.com/apis/contacts/docs/1.0/developers_guide_dotnet.html

AOL: http://dev.aol.com/article/2007/integrating_openauth_into_aspnet

Hotmail: http://msdn.microsoft.com/en-us/library/bb463989.aspx

thekaido
A: 

Found an example here

Kamyar