exchangewebservices

Exchange Webservice Managed API - Find items by extended properties

蹲街弑〆低调 提交于 2019-12-01 02:49:38
问题 I have tried to use extended properties on appointments with EWS, but I can not seem to find the appointments again. The set property part is equal to the one shown in this question: How to Update an Appointment from Exchange Web Service Managed API 2.0 in ASP.NET When I try to retrieve the appointment, I have followed these examples: http://msdn.microsoft.com/en-us/uc14trainingcourse_5l_topic3#_Toc254008129 http://msdn.microsoft.com/en-us/library/exchange/dd633697(v=exchg.80).aspx But I

GetRoomLists succeeds but returns no data

岁酱吖の 提交于 2019-12-01 01:59:00
问题 I am calling GetRoomLists using Exchange Web Services, we are running Exchange 2010. The below code is being executed through a Console application. The call succeeds, per the XML response of "No Error", but no data is returned. We have several hundred rooms listed when you try to add one through an Outlook Appointment, so not sure why this would happen. I've tried using both EWS DLL version 1.2 and 2.0, using default credentials or passing in credentials. I noticed after originally posting

Set CustomProperties on appointment for all attendees

浪子不回头ぞ 提交于 2019-12-01 01:45:18
问题 tl;dr When setting CustomProperties to an appointment that has attendees, only the appointment for the organizer gets the CustomProperties . The properties do not propagate to the appointments of the other attendees. Longer version When we create an appointment with multiple attendees and then log in as each attendee, we notice that each ItemId is different. So, it appears that each attendee in a meeting gets their own copy of an appointment. (Would really like someone to confirm this is true

How to to print mail body and subject from unread answer?

大兔子大兔子 提交于 2019-12-01 01:15:48
I want to get the mail subject and body of only unread mails of my inbox. I want to read one unread mail at a time and mark it as read afterwards. I need the subject , from address and mail body . The below code shows gives me the mail IDs of all unread mails. require_once ('../mail3/php-ews-master/ExchangeWebServices.php'); require_once ('../mail3/php-ews-master/EWS_Exception.php'); require_once ('../mail3/php-ews-master/EWSType.php'); require_once ('../mail3/php-ews-master/NTLMSoapClient.php'); function __autoload($class_name) { // Start from the base path and determine the location from the

ConversationId property vs ConversationIndex property in Exchange Web Services managed API

…衆ロ難τιáo~ 提交于 2019-11-30 23:28:14
EWS Managed API have two properties: ConversaionId and ConversationIndex What is the difference between them? I guess ConversationId is the the ConversationIndex of the first mail in the conversation which is essentially of 22 bytes, while ConversationIndex is the index of that particular reply in the conversation thread, essentially of 22 bytes + multiples of 5 bytes for each reply in the conversation. Is it like that? Also ConversationId is accessible only with Exchange Server 2010 onwards. So cant we access ConversationId in the Exchange Server 2007? Correct, you can't access ConversationId

Can't retrieve Appointment.StartTimeZone through EWS Managed API on Exchange 2007 SP1

孤街浪徒 提交于 2019-11-30 21:09:34
I can retrieve the Appointment.TimeZone for items with: PropertySet propertiesAll = new PropertySet(BasePropertySet.IdOnly, ..., AppointmentSchema.TimeZone, AppointmentSchema.StartTimeZone, ...); ServiceResponseCollection<ServiceResponse> response = Exchange.LoadPropertiesForItems(items, propertiesAll); But not Appointment.StartTimeZone which returns null. Appointment.TimeZone is string and seems to be comparable to DisplayName of TimeZoneInfo objects, but unfortunately this seems to be in the language of the end users (in our environment I encountered different languages returned by Exchange

PHP and Exchange Web Services : fetching the message body using php-ews

我怕爱的太早我们不能终老 提交于 2019-11-30 20:56:50
问题 I am having no luck fetching the message body of an email from an Exchange 2010 server using php-ews. This is my code : $ews = new ExchangeWebServices("hostname", "username","password",ExchangeWebServices::VERSION_2010); $request = new EWSType_FindItemType(); $itemProperties = new EWSType_ItemResponseShapeType(); $itemProperties->BaseShape = EWSType_DefaultShapeNamesType::ALL_PROPERTIES; $itemProperties->BodyType = EWSType_BodyTypeResponseType::BEST; $request->ItemShape = $itemProperties; /

Authentication Problems Using the Office 365 API

可紊 提交于 2019-11-30 18:11:05
问题 My goal is to get the user's (Office 365 and Outlook.com) meetings for a given day in a WPF C# project. Following the steps described in the Outlook Dev Center Tutorial, the second step (after registering the app) would be to authenticate the user using OAuth2. But I cannot make it work: I did not find any tutorial/code snippet which I was able to run. They are all written either for Apps or Asp.Net (or something else). I tried to adapt these, but without success... I installed the Active

Read email headers in Outlook Web Access (OWA)

只谈情不闲聊 提交于 2019-11-30 16:20:15
I am developing a outlook Web App (Office 365 Developer). Regarding that, is there a way to read the headers of the selected mail which lays on inbox?. I am using Exchange server 2013. I would like to use Jquery or Javascript for write the code. I tried to add "Message Header Analyzer" from Microsoft ( link:- ' https://store.office.com/message-header-analyzer-WA104005406.aspx?assetid=WA104005406 '). Now it is working properly and it can read headers. But I need to implement the same functionality using my own codes. If anyone can provide a good reference as a start, I would greatly appreciated

Read email headers in Outlook Web Access (OWA)

℡╲_俬逩灬. 提交于 2019-11-30 16:06:39
问题 I am developing a outlook Web App (Office 365 Developer). Regarding that, is there a way to read the headers of the selected mail which lays on inbox?. I am using Exchange server 2013. I would like to use Jquery or Javascript for write the code. I tried to add "Message Header Analyzer" from Microsoft ( link:- 'https://store.office.com/message-header-analyzer-WA104005406.aspx?assetid=WA104005406'). Now it is working properly and it can read headers. But I need to implement the same