exchangewebservices

How to get DL in Exchange Server using Java API?

坚强是说给别人听的谎言 提交于 2019-12-11 03:58:42
问题 How to get DL (distribution List) from Microsoft Exchange Server via EWS in Java? I have tried EWS Java API but could not find list of Distribution List (GAL) of exchange server, any help regarding to this API or any other would be appreciated. 回答1: The GAL is not directly supported. You can use the ResolveNames method to resolve individual names. To perform a search on the GAL, you need to use LDAP. See http://www.infinitec.de/post/2005/02/How-to-get-the-Global-Address-List-programatically

Odata $filter for the date in the Office 365 REST API

会有一股神秘感。 提交于 2019-12-11 03:43:30
问题 I'm trying to retrieve events for a user from its Office 365 account using the REST API but filtered by the field "Start". For instance, retrieve all the events that will happen after the date: 2014-08-29T09:13:28' but i'm always retrieving this error message { "error": { "code": "ErrorInvalidUrlQuery", "message": "The query parameter '$filter' is invalid.", "innererror": { "message": "The query parameter '$filter' is invalid.", "type": "Microsoft.Exchange.Services.OData

EWS sends invitations to everyone when removing a required attendee

帅比萌擦擦* 提交于 2019-12-11 03:43:06
问题 I have the following code: (Meeting beeing the exchange appointment) For Each Recipient As String In emailAdresses For i As Integer = 0 To Meeting.RequiredAttendees.Count - 1 If (Meeting.RequiredAttendees(i).Address).ToUpper() = Recipient.ToUpper() Then Meeting.RequiredAttendees.RemoveAt(i) Exit For End If Next Next Meeting.Update(ConflictResolutionMode.AutoResolve, SendInvitationsOrCancellationsMode.SendOnlyToChanged) Now as you can see i'm using SendInvitationsOrCancellationsMode

EWS Message Tracking Report

前提是你 提交于 2019-12-11 03:02:18
问题 I've been doing a bunch of research on how to get a message tracking report from exchange using EWS and can't seem to pinpoint anything. I was going to build an application that scrapes the log files but if I can do it through EWS it be better for what I'm doing. Any ideas? 回答1: I was finally able to create a solution to my issue. I am using Powershell in C# to send commands to exchange and parse through the Message Tracking Log. In order to this you need to make sure the user you are using

EWS - Access Shared Calendars Items/Appointments

给你一囗甜甜゛ 提交于 2019-12-11 02:58:23
问题 I'm trying to get all items of a shared calendar (I've followed EWS - Access All Shared Calendars from Glen Scales), but it only lists Folders under "Shared Calendars" ("Calendriers partagés" as it's in French, I can't find if "Common Views" should is localized either, I don't think so). A coworker created a calendar with a few appointments, shared it with me and gave me maximum permissions (ownership) for testing. How do you access the Items/Appointments within this shared calendar (in C#

Multiple calender in exchange web service

时光毁灭记忆、已成空白 提交于 2019-12-11 02:53:21
问题 I have multiple calenders in my mailbox. I can retrieve only one calender that is main calender folder using ews api 2.0. Now I want the whole list of calenders and appointments and meetings in that. For example, I have three calenders, and one is the main calender Calender(color-code:default) Jorgen(color-code:pink) Soren(color-code: yellow) i can retrieve all the values of main "Calnder", using the below code Folder inbox = Folder.Bind(service, WellKnownFolderName.Calendar); view

EWS FindItemsResults<Item> Item.Move() does not move certain item types to a Mail folder such as IPM.Appointment

落花浮王杯 提交于 2019-12-11 02:37:53
问题 I have some code that is moving items into a Mail Folder from the Deleted Items. The code works well and moves all the items generally. The problem occurs when it encounters an item that is not IPM.Note. It gives the error that is a null reference (See: What is a NullReferenceException, and how do I fix it?) Which is odd as there are items there and it can't be null. Here is a code excerpt: // Specify the Exchange Service ExchangeService E_SERVICE = new ExchangeService(ExchangeVersion

It is possible to use the EWS Managed API from a Delphi Win32 VCL app (and how to start)?

为君一笑 提交于 2019-12-11 02:17:18
问题 I'm currently investigating accessing Exchange Web Services (EWS) through SOAP (see e.g. this prior question), but there also is a recommended EWS Managed API. Would it be possible to use that API from a Win32 Delphi-XE2 app? I see people using the API from e.g. PHP with tools like PHP-EWS so it looks possible from other languages than C#, but where would I start using Delphi? 来源: https://stackoverflow.com/questions/13084508/it-is-possible-to-use-the-ews-managed-api-from-a-delphi-win32-vcl

Microsoft Graph API Accessing basic info of a user that is outside tenancy

爷,独闯天下 提交于 2019-12-11 01:59:35
问题 I am developing a multi-tenant web app managing the mail, contacts and calendar of users. On the AzureAd management portal, I registered my app as multi-tenant and I manage to get OAuth tokens for both people out and inside my tenancy, replacing the tennantId by "common" when querying the Authentication Code and Token endpoints. Now, I would like to access calendar, mail and contacts info of people who signed in and consented to give permissions to my app. I started simple, by querying the

REST Api for O365 EO Recoverable items folder

邮差的信 提交于 2019-12-11 01:55:33
问题 I want to fetch events from Recoverable items folder inside Deleted Items. Do we have support with rest API to access these mails/calendars/contacts inside recoverable folder? I couldn't find any article about it nor it is listed in outlook mail rest API reference. Any help is appreciated 回答1: You can use the WellKnownFolder enumerations for the RecoverableItems folders so make a request like this to list all the folders https://graph.microsoft.com/v1.0/users('user@domain.com')/MailFolders