exchangewebservices

Access another mailbox calendar events with PHP-EWS

╄→гoц情女王★ 提交于 2019-12-07 18:52:21
问题 In PHP-EWS library (https://github.com/jamesiarmes/php-ews) I can access the calendar events of a specific user using this code: https://github.com/jamesiarmes/php-ews/wiki/Calendar:-Get-List-(Retrieving-Id-and-ChangeKey) In all the library features we always use the authentication for a single user: $ews = new ExchangeWebServices($host, $username, $password, $version); However how can I get the calendar events from another user's mailbox? If I have an account in LDAP with admin privileges is

When using manually set credentials, EWS auto discover stops working

◇◆丶佛笑我妖孽 提交于 2019-12-07 13:18:41
问题 I am running into a very strange issue and I am convinced it is just something stupid that I am overlooking. Using the EWS managed API, I try to connect to a mailbox to read the contacts. Originally, I used the default credentials, in which case the auto discovery worked. The problem is that later on we want to run this on a server and impersonate a user, so I changed it by manually specifying the credentials. This then broke, even when using my own credentials. As an example, this worked:

UseDefaultCredentials with Exchange Web Services

二次信任 提交于 2019-12-07 11:58:37
问题 I'm a pretty new programmer. One of the things I've been tasked with at work is getting our custom tools to create draft emails and drop them into the draft email folder of the user running the tool. We presently use Exchange Server 2010 (but are in the process of migrating over to Exchange Online). This link talks about a UseDefaultCredentials but I can't seem to work out how to implement it. I created an ExchangeService object called service and managed to interact with our Exchange server

Match EWS Conversation* to Outlook Add-in Conversation*

半腔热情 提交于 2019-12-07 10:33:19
问题 I wrote an add-in for Outlook years ago that adds entries to a database based on the Item's ConversationIndex / ConversationId properties. This works great and remains uniform across all clients interacting with the messages (e.g. "Bob" can see that "Mary" already processed this message because an entry with the ConversationIndex already exists). I'm now trying to move this piece to a service (and connect via the EWS API) but I'm not having good luck matching these properties with the values

SSL: CERTIFICATE_VERIFY_FAILED when connecting to a company Exchange Server

自古美人都是妖i 提交于 2019-12-07 08:09:28
I try to send mails from out company exchange server via Python. My problem is, that I get a SSL error. I read a lot of pem-, cer-, crt-files, but I can not connect all these information to have success. I am sure, that if one can fix the issue in my little example script, one could fix the exchange script, too. I read a lot about certificates and ca_bundles, but I don't know how to apply all of that to my issue. Example-Script : import requests requests.get('https://mail.ourserver.loc') Error : C:\Python\python.exe "PATHtoMYproject/testing.py" Traceback (most recent call last): File "C:

Accessing a Resource Calendar with no mailbox via EWS and C#

亡梦爱人 提交于 2019-12-07 07:25:25
问题 Our Exchange Admins (Exchange 2010 SP1) have setup a shared resource calendar. There is no mailbox assigned to this resource calendar . I want to be able to read the meetings using EWS and C#. Snippet: ExchangeService esvc = new ExchangeService(ExchangeVersion.Exchange2010); esvc.Credentials = new WebCredentials(username, password, "ourplace.org"); esvc.Url = new Uri("https://OWA.OURPLACE.ORG/EWS/Exchange.asmx"); FolderId shareFolderId = new FolderId(WellKnownFolderName.Calendar, "Shared

Exchange Web Services - The response received from the service didn't contain valid XML

百般思念 提交于 2019-12-07 06:40:31
问题 I am attempting to connect to exchange web services (ews) on a exchange 2010 server. Here is the code I am using: using System; using System.Collections.Generic; using System.Text; using Microsoft.Exchange.WebServices.Data; namespace NDR_Processor { class Program { static void Main(string[] args) { ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP1); service.Credentials = new System.Net.NetworkCredential("redacted", "redacted", "redacted"); service.Url = new Uri(

EWS FindItems OrderBy - Sort by EmailMessageSchema.From Incorrect Order

你。 提交于 2019-12-07 06:24:24
问题 I am calling the EWS FindItems() method with an OrderBy on my View. The results are returned in the correct order if I use various ItemSchema.* values (ex. ItemSchema.DisplayTo, ItemSchema.Importance, ItemSchema.Subject). But if I want the results sorted by EmailMessageSchema.From as the results are in an odd order that I can not understand and is not acceptable to my users. Sorts Correctly: ItemSchema.Subject ItemView view = new ItemView(20, 0, OffsetBasePoint.Beginning); view.PropertySet =

How to use LDAP authentication for the Exchange Web Services connection in Java?

一笑奈何 提交于 2019-12-07 05:37:24
问题 I try to write a Java application that access an Exchange Web Services in order to read emails. Thus, I use the Exchange Web Services ( EWS ) Java API provided by Microsoft. I already had several issues with it, and I finally found that the authentication should be done using LDAP. Unfortunately, I'm not sure how to do such a thing. Does the EWS API allows to configure the authentication scheme to be used when connecting to the Exchange server ? If yes, how to configure that? This is the code

Microsoft EWS Push Notification Response Message

落花浮王杯 提交于 2019-12-07 05:32:22
问题 We are currently using push notifications from Microsoft Exchange Web Services to call our service whenever a new calendar event is created. This seems to be working fine at first. We are getting the verification message and responding with: <?xml version="1.0"?> <s:Envelope xmlns:s= "http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <SendNotificationResult xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"> <SubscriptionStatus>OK</SubscriptionStatus> <