Click here to Skip to main content
15,891,567 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
the code is here

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);
   }
}


[edit]Code block added - OriginalGriff[/edit]
Posted
Updated 17-Dec-11 4:39am
v3

1 solution

A signature in an email is merely additional text in the message content so you would have to find some way of distinguishing it from the rest of the text. Not an easy thing to do.
 
Share this answer
 
Comments
mhassan083 18-Dec-11 12:21pm    
pl clear more
Richard MacCutchan 18-Dec-11 12:30pm    
What more can I say? The signature is just some text in the body of the email so there is no simple way to identify it.
mhassan083 18-Dec-11 13:17pm    
ok what can i do for this
mhassan083 18-Dec-11 13:19pm    
to display the content incluedes signature what i do in code
Sergey Alexandrovich Kryukov 18-Dec-11 16:03pm    
Whatever you do, it would be incorrect. So, why doing incorrect things?
--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