Questions tagged [ews-managed-api]

Exchange Web Services (EWS) API that can be used to access Exchange resources.

Microsoft Exchange Server 2007 introduces Exchange Web Services (EWS), a API that can be used to access Exchange resources. EWS is a SOAP-based XML Web service that can be accessed remotely from any operating system and any language that can send requests over HTTPS.

Creating a new folder in the Inbox

Folder folder = new Folder(service); folder.DisplayName = "My new folder"; folder.Save(WellKnownFolderName.Inbox);

Creating and saving a draft e-mail message

EmailMessage message = new EmailMessage(service); message.Subject = "Hello from the EWS Managed API"; message.Body = "Now that's easy!"; message.ToRecipients.Add("someone@fabrikam.com"); message.Save();

370 questions
4
votes
1 answer

Exchange: Is it possible to search for a custom Extended Property across all mailboxes?

My team and I are in the process of integrating our custom CRM (built entirely on the MS stack) with Exchange. A key part of that integration is binding Exchange items (namely meetings and tasks) to customer records. Basically, when a salesperson…
4
votes
1 answer

Exchange Web Services, ASP.NET with Windows Auth, IIS 8.5 and Impersonation

I am being driven slowly and inexorably mad by the setup of IIS to allow access to Exchange Web Services from ASP.NET website that uses Windows Authentication. I have found literally dozens of articles on how to set this up, each of which seems to…
Jason
  • 2,940
  • 2
  • 21
  • 34
4
votes
1 answer

Which one is better EWS API or EWS managed API?

I am developing email client for exchange server ....... I came across EWS and EWS Managed API. Please help me understand which one I should go for ?
Romesh
  • 136
  • 1
  • 9
4
votes
1 answer

Access Resource Calendar via EWS Managed API C#

I am using C# (.NET Framework 4) and Visual Studio 2010 Professional. I have an Exchange-Server 2007. On this server there is a resource calendar called de.ffm.parking. There is a user with the same name but it has no associated Mailbox so I can´t…
4
votes
1 answer

How to get Exchange Mailbox address using folderid property?

I have a streaming notifications listener that's subscribed to multiple mailboxes. When a creation notification comes in, I bind to the created item to try to learn more about it. I try to look at the ParentDirectoryID.Mailbox to try to figure out…
Yogesh Dave
  • 83
  • 1
  • 7
4
votes
2 answers

Is it possible to access EWS managed API from javascript

I want to create a web application, using html and JS, and I will be accessing EWS managed API. So can we access EWS API via javascript or any other language? If yes how to do so?
amrit_neo
  • 1,759
  • 4
  • 19
  • 39
4
votes
2 answers

Exchange Web Services API: Error Sending Message with Attachment

I am attempting to send a message with a PDF attachment using the EWS Managed API 2.0. I am sending email as an account that is not my own but for which I have send as permissions. I can send the email without an attachment, but as soon as I try to…
4
votes
3 answers

EWS Appointment ID. Unique?

Is the Appointment.Id property or Appointment.Id.UniqueId really unique? I have the simplest of methods, retrieving Appointments using ExchangeService.FindAppointments. My results are showing a few appointments with a different subject but the same…
Carl Clark
  • 291
  • 4
  • 13
4
votes
1 answer

EWS save/export EmailMessage in other format

I'm working with the EWS Managed API 2.0. At this moment I can save EmailMessages to my harddrive as *.eml files. However I can't open them correctly to show the content. How can an EmailMessage (.eml) be saved as an .html, .doc or .txt file…
juFo
  • 17,849
  • 10
  • 105
  • 142
4
votes
1 answer

How to Accept and add Categories to RequiredAttendees Appointments using Exchange Web Services

I’m using ExchangeService(ExchangeVersion.Exchange2010_SP1) I want to Accept and add Categories to RequiredAttendees Appointments. To do this i need to find these Appointments. My understanding in EWS is that on Save of an Appointment that has…
4
votes
1 answer

Exchange Web Services - acknowledging meeting request response

I'm working on an application that handles streaming notifications from Exchange Web Services and makes database updates based on those notifications. I'm monitoring a few calendar folders and tracking changes to the appointments as well as to the…
agt
  • 301
  • 1
  • 6
3
votes
1 answer

How to pass HostingEnvironment.Impersonate credentials to ExchangeService EWS?

Is it possible to pass the credentials of the user browsing my asp.net web application to the EWS FindAppointments call? I'm only trying to return calendar details for the active browsing user, who will without doubt have permission to read their…
RichardD
  • 315
  • 1
  • 4
  • 11
3
votes
1 answer

How to get task priority

Is there any way to retrieve the priority of a task using EWS Managed API? I can't find such a property in the MSDN documentation or intelisense.
Luke
  • 5,771
  • 12
  • 55
  • 77
3
votes
2 answers

Is it possible to build iPhone app with MonoTouch using Microsoft managed EWS?

I'm trying to build iOS app using Microsoft EWS managed API. I've downloaded the msi from http://www.microsoft.com/download/en/details.aspx?id=13480 and copied the DLL under the solution folder. When building for the simulator, it builds and runs…
Nina
  • 45
  • 8
3
votes
1 answer

EWS-managed: Fetch required and optional attendees of appointments

As far as I am now, I know how to fetch appointments from exchange server, BUT as soon as I want to see the required and optional attendees, these fields are empty ... I checked the appointment trice and there is an attendee, except me. Do I have to…