Import Google Contacts

This project can be used to import contacts (names and email addresses) from Google to your dotMailer account; which can then be used to sent email campaigns.

Building

Download the project, and unzip all of the files. The project is built using Visual Studio 2010.

The project is written in C# 4, but can be easily modified to run under earlier versions by removing the linq statements.

Before building the project, you will need to add references to the following Google DLLs:
Google.GData.Client.dll
Google.GData.Contacts.dll
Google.GData.Extensions.dll

To obtain these DLLs, you can currently visit the following link:
http://code.google.com/p/google-gdata/downloads/list

From here you can download and install "Google Data API Setup (2.1.0)". After installation the required DLLs can be found in the "C:\Program Files (x86)\Google\Google Data API SDK\Redist" or similar folder, depending on your machine.

Using

Run the program.

The program will query Google and upload contacts that have both a name and an email address, the application will wait for dotMailer to process the email address through it's watchdog process, and then the application will display stats on the number of contacts added and the number of web service calls made.

dotMailer SDK

The download also contains the dotMailer SDK (dotMailerSDK.zip). This is covered by it's own licence (included in the download), and can be freely used to access the dotMailer platform. This is written in C# and targets the .net v2 framework.

The SDK wraps dotMailer's SOAP API http://www.dotmailer.co.uk/api/

https://www.dotmailer.co.uk/