请如何修改此代码中显示发件人的签名 [英] Please how can modify in this code display the signature of sender

查看:79
本文介绍了请如何修改此代码中显示发件人的签名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

代码在这里

the code is here

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]添加了代码块-OriginalGriff [/edit]



[edit]Code block added - OriginalGriff[/edit]

推荐答案

电子邮件中的签名只是消息内容中的附加文本,因此您必须找到某种方式将其与其他文本区分开来.并非易事.
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.


这篇关于请如何修改此代码中显示发件人的签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆