We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Gmail contact

How to fetch the gmail contact… I mean i want to fetch the address book contact… plz help…


Hi,

Thanks for considering Aspose.

Fetching gmail address book contacts is not supported in the current release. We may consider adding this in future and will keep you posted.

Hello,

We can provide you a beta solution in the coming days. It could be great, if you can provide more detailed requirements of your project. I will keep you posted.

Thanks,

Just imagine that u have created the application like orkut… i want to fetch some of my contact from yahoo and add those as a contacts in orkut then what i need to do… I hope u got my problem…

The issues you have found earlier (filed as 9070) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.

Hi,


Please check the below source code for your reference,

C#

GmailClient client = new GmailClient();
client.Username = "username@gmail.com";
client.Password = “password”;
client.AuthorizationType = GmailClientAuthorization.ClientLogin;
client.ClientLoginAuthenticate();

FeedEntryCollection groups = client.FetchAllGroups();
foreach (GmailContactGroup group in groups)
{
Console.WriteLine(group.Title);
}

FeedEntryCollection contacts = client.FetchContactsFromGroup((GmailContactGroup)groups[0]);
foreach (GmailContact contact in contacts)
{
Console.WriteLine("{0}: {1}", contact.Title, contact.PrimaryEmail.Address);
}