让会议组织者邮箱地址EWS API [英] get meeting organizer mail address EWS API

查看:2123
本文介绍了让会议组织者邮箱地址EWS API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想与EWS API来获取会议组织者电子邮件地址。目前,我只是让我的约会项目的一些属性。我听说,你可以设置你想要得到的属性。我的代码看起来像:

  CalendarView的CView =新CalendarView(开始,结束); 
cview.PropertySet =新的属性集(BasePropertySet.FirstClassProperties);
FindItemsResults<任命> appResults = calenFolder.FindAppointments(CView的);


解决方案

我知道这个问题是老了,但因为我发现它,其他人可能发现它。 。然后,该解决方案比这个问题大五岁



解决的办法其实简单,并试图在微软论坛上发布这一问题时,将很快发现:



http://social.msdn.microsoft.com/Forums/en-US/0403c00e- 008D-4eb2-a061-45e60664573e /如何-可以-I-GET-SMTP地址到一个组织者与 - EWS?论坛= exchangesvrdevelopment



简短的摘要:



在与ExchangeService.FindAppointments检索到的组织者字段不包含SMTP地址,但它如果与ExchangeService.BindToItems或Appointment.Bind检索。


I would like to get the meeting organizer mail address with the EWS API. Currently I'm just getting the a few properties of my appointment item. I heard that you can set which properties you want to get. My code looks like that:

CalendarView cview = new CalendarView(start, end);
                    cview.PropertySet = new PropertySet(BasePropertySet.FirstClassProperties);
                    FindItemsResults<Appointment> appResults = calenFolder.FindAppointments(cview);

解决方案

I know the question is old, but since I found it, others may find it as well. And then, the solution is five years older than this question.

The solution is in fact simple and will be found quickly when trying to post this problem at the microsoft forums:

http://social.msdn.microsoft.com/Forums/en-US/0403c00e-008d-4eb2-a061-45e60664573e/how-can-i-get-smtp-address-to-an-organizer-with-ews?forum=exchangesvrdevelopment

Short summary:

The organizer field does not contain an SMTP Address when retrieved with ExchangeService.FindAppointments, but it does if retrieved with ExchangeService.BindToItems or Appointment.Bind.

这篇关于让会议组织者邮箱地址EWS API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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