如何修改此代码以在列表框中显示发件人的签名 [英] How can modify this code to display the signature of sender in listbox

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

问题描述

代码在这里:

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

推荐答案

我们应该如何帮助您? .net框架对象都不是使用的对象,因此您必须从文章或其他库中获取此代码.如果它是CodeProject文章,请返回该文章,并在页面底部的文章论坛区域中提问.
How are we supposed to help you? None of the objects used are .net framework objects, so you must have gotten this code from an article or some other library. If it WAS a CodeProject article, go BACK to the article, and ask the question in the article forum area at the bottom of the page.


我在这里为您回答了这个问题:请如何在此代码中进行修改以显示发件人的签名 [
I answered this for you here: Please how can modify in this code display the signature of sender[^], yesterday. Please don''t repost the same question. If you have more information to add then edit the original.


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

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