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("chendur.pandiya@gmail.com","***");
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....
The missing "Utilities" assembly is located in the \Lib folder under the OpenContactsNet project download (OpenContactsNet\Lib\Utilites.dll).
However, I don't think it works that well anymore. This library is pretty outdated.
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
You should add using System.Net;
This is the new link of Gmail contact import 2.0 for .Net developers