views:

631

answers:

4

I have a scenario in my current application where I want to fetch the Gmail id's of my users. Could anyone tell me the way with piece of code in C#?

Note: I am developing a web-base application in asp.net with C#.

+8  A: 

Use the google contacts api there are C# sample there.

Sam Saffron
Sambo, the link is referring to an older verion - 1.0. The current is 3.0/2.0.
Kirtan
Changed link to 3.0 version.
Matthew Flaschen
Thanks Matthew!
Sam Saffron
+3  A: 

You can use the Google Accounts API.

You can find an example here.

Kirtan
+1  A: 

Take a look at the open source .Net library gmailapi.The GmailAgent has a GetContacts method for retrieving all the contacts.

A: 

You can use the google contacts api there we have C# samples. Hope this helps you

Meetu Choudhary