Click here to Skip to main content
15,903,012 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
the code i 'm try to do.although i think it may be not


C#
RequestSettings logininfo = new RequestSettings("",textBox1 .Text ,textBox2 .Text);
logininfo.AutoPaging = true;
ContactsRequest crequest=new ContactsRequest(logininfo) ;
Feed<contact> feedcontacts = crequest.GetContacts();
foreach (Contact gmailAddresses in feedcontacts.Entries)
{
   Console.WriteLine("\t" + gmailAddresses.Title);
   listBox1.Items.Add(gmailAddresses.Title);
   foreach (EMail emailId in gmailAddresses.Emails) 
   {
      Console.WriteLine("\t" + emailId.Address);
      listBox1.Items.Add(" " + emailId.Address);
   }
}
Posted
Updated 20-Dec-11 0:28am
v2
Comments
Sergey Alexandrovich Kryukov 20-Dec-11 11:17am    
What exactly do you mean by "signature"? If this is a name before e-mail address like in "John Crow <id@domain.tld>", you can easily extract it. If this is the name people write at the end of the mail body, this is not a formal thing you can recognize.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900