Subscribe For Free Updates!

We'll not spam mate! We promise.

Sunday, 2 June 2013

Retrieve Gmail Contacts Name with Email in Asp.Net

Introduction
This article I am going to describe how to retrieve Gmail contact with Name and Mail id in asp net.  Here I will describe how to communicate with Gmail using Google API.
Description
As it is a third party software for this we required some third party dll to be referenced to our application which will communicate with Gmail server.
For this we have to download the Google API Set up from below link

Or you can direct download from this link
Install this setup you will get these dll files in your Pc
  1. Google.GData.Apps.dll
  2. Google.GData.Client.dll
  3. Google.GData.Contacts.dll
  4. Google.GData.Extensions.dll
Collect these dll's.

Design
Now design your design the screen as below screen


Or Copy the source code below


 Next add reference of Google gdata dll to your website.
  1. Google.GData.Apps.dll
  2. Google.GData.Client.dll
  3. Google.GData.Contacts.dll
  4. Google.GData.Extensions.dll
And write the below code .cs file

Now build your Application. And enter Gmail id and password in the corresponding textbox
Click on Get Contact button it will show all your gmail Contact Name with Email.

Any modification or problem Plz comment

Socializer Widget By Blogger Yard
SOCIALIZE IT →
FOLLOW US →
SHARE IT →

0 comments:

Post a comment