ews

Outlook/Exchange Calendar Items with Sensitivity set to Confidential showing up as Private in Scheduling Assistant

I have a Windows Service that uses Exchange Web Services to get calendar items that are set with a Sensitivity of "Confidential." The Sensitivity level is set by the users when they put appointments on their calendar. The setting of "Confidential" was chosen because in all my research, I found that Outlook/Exchange essentially ignores th...

Due Date set via EWS is wrong in reminder popup

I'm having some trouble using EWS with tasks and reminders, specifically, the due date. When I run my code, shown below, the task is added to my exchange account and I can see it fine in outlook. All the data in it looks fine too. However, if I specify to have a reminder for the task, the due date it shows is very wrong. It's usually 1...

Is it possible to write C# code as below and send email using network in different country?

Is it possible to write C# code as below and send email using mnetwork in different country? MSExchangeWebServiceURL = mail.something.com/ews/exchange.asmx It's a web service URL. This works great when I run the same code from home network, my friends home network anywhere around, but when I run it from my client's location in Columbi...

getting autodiscover URL from Exchange email address

I'm starting with an address for an Exchange 2007 server: [email protected] And I attempted to send an autodiscover request, as documented at MSDN. I attempted to use the generic autodiscover address documented at the TechNet White Paper. So, using curl on PHP, I sent the following request: <Autodiscover xmlns="http:...

TimeZoneInfo - why can't i seem to create an instance of it?

I'm trying to use the EWS API to access an Exchange server from a console program i'm writing. I've specified the type of exchange server i'm connecting to but when I try to execute the code i have, it gives me Error 1 The type 'System.TimeZoneInfo' is defined in an assembly that is not referenced. You must add a reference to assembly '...

Exchange 2010 EWS Delete Message

How do I delete email messages in a mailbox using EWS? There doesn't seem to be much online for it? I'm planning an application and I need to know if it's possible and how to do it. ...

exchange web services - search for subject NOT EQUAL TO "" (empty string)

Trying to find emails from an inbox using exchange webservices (against exchange 2007). the subject of which should not be empty. Tried the following: searchFilterCollection.Add(new SearchFilter.IsNotEqualTo(EmailMessageSchema.Subject, string.Empty)); and searchFilterCollection.Add(new SearchFilter.IsNotEqualTo(EmailMessageSchema.Su...

Test Exchange EWS on public server

Is there any public Exchange server (emulator) that I can use to test / experiment with my Exchange Web Services implementation? ...

Send Voting Email

Using the Outlook API it is possible to send emails with polls by setting the VotingOpions property on a MailItem instance. Is it possible to do the same with Exchange Web Services in any way? ...

categorize the exchange folders in Distinguished Folder and normal folder

My question is how to make difference between a distinguished folders and a folder created by user when i try to obtain the list of user folders using findFolder ws method FindFolderType request = new FindFolderType(); request.setTraversal(FolderQueryTraversalType.DEEP); FolderResponseShapeType folderResponseShapeType = ne...

Exchange web services Kerberos Authentication

I need to consume exchange web services through JAVA Proxies generated by JAX-WS. I have a few doubts : 1) Can we connect to the exchange server with kerberos authentication 2) If yes help needed.. ...

Pass windows credentials to Exchange 2007 web service VB.NET

I am trying to interop to Exchange 2007 via its web-services and have the following issue; Authentication mode = “windows” in the web.config…. Why isn’t the default credential passing the current user to the exchange webservice (EWS)? Dim esb As New mailserver.ExchangeServiceBinding() 'Provide the NetworkCredential esb....

How do I do a Find operation with ReminderDueBy as a Paramater? [Microsoft.Exhange.WebServices]

I am using the Microsoft.Exchange.WebServices assembly and am trying to retrieve Appointments which have a Reminder set to go off in a certain time period. So basically I create a SearchFilter object using AppointmentSchema.ReminderDueBy: SearchFilter.IsGreaterThanOrEqualTo startTime = new SearchFilter.IsGreaterThanOrE...

Creating Tasks for other users using Exchange Web Services (EWS) Managed API

As an "EWS Managed API Newbie", I'm having some problems finding examples and documentation about creating and managing Tasks. I've managed to create a task for myself without a problem. However, I really need to be able to do the following - if anyone could give me any pointers I'd really appreciate it... Create a Task and assign it...

How to send OK response to EWS

I am trying to get EWS's push notifications set up in my c# app. After getting the response from the server and reading it using a NetworkStream I need to respond to the server with Ok in a SOAP message. The only example that I can find uses Microsoft.Web.Services3 and a SoapEnvelope. My understanding is that this has now been replace...

Get ItemId of next email given ItemId of current email, using Exchange Web Services (EWS) Managed API

I need to write a method in C# that uses the Exchange Web Services (EWS) Managed API to read emails from a mailbox and given the ItemId/UniqueId of the current email, returns the ItemId/UniqueId of the next email in the inbox after the current email. Furthermore, for various reasons I require the method to be a static stateless method, ...

Getting a EmailMessage Attachment via FileStreamResult

I have this code here where I retrieve an attachment from an Email Message that is on the Exchange Server using EWS Attachment attachment = message.Attachments.Single(att => att.ContentId == Request.QueryString["cid"]); attachment.Load(); FileAttachment fileAttachment = attachment as FileAttachment; ...

How to specify content type in request in groovy?

Hi, i'm trying to use the groovy httpbuilder to make a post to the microsoft exchange webservice (EWS). My problem is, I'm unable to set the proper request content-type. The library seems to have its own mind here. Does anyone have an idea? Cheers, Stephan Here is my code: url = "http://exchangeserver/ews/Exchange.asmx" p_...

How can I create an Extended (custom) Property with EWS?

I have created a little demo application which is able to create a meeting request by using the Exchange WebService (EWS). I would also like to add some custom properties to this item but up to now I have only found examples which use the Exchange Managed API, which I won't use. There must be a way to create these properties by only usin...

How do I retrieve just recurring event masters using Exchange Web services?

I'm using a CalendarItemType view to retrieve calendar items. The only items I care about are those that I've created and I know that they are all weekly recurring items. I'm able to get each individual occurrence and, from any one of them the recurring master item, but I'd like to narrow the scope of my search to just those items that...