exchangewebservices

Differences between Exchange 2003 Web Services and Exchange 2007 web services

We have Exchange integration into our CRM (diaries and email); we have done this through CRL functions in our SQL 2008 server which handle all the authentication and communication with Exchange 2007 web services. The CLR then presents the functions to developers in SQL Server as regular functions and stored procedures which makes coding ...

Getting started with Exchange Web Services 2010

I've been tasked with writing a SOAP web-service in .Net to be middleware between EWS2010 and an application server that previously used WebDAV to connect to Exchange. (As I understand it, WebDAV is going away with EWS2010, so the application server will no longer be able to connect as it previously did, and it is exponentially harder to...

EWS - How to search for items [message] between dates ?

I am trying to search for message items between two dates from the inbox folder. I use the following restrictionType but it throws this error: firmt.RootFolder = null What am I doing wrong? There is some messages between the mentionned dates ;-) Thanks for your suggestions. using (ExchangeServiceBinding esb = new ExchangeSer...

How do I get folder size with Exchange Web Services 2010 Managed API?

I'm attempting to use EWS 2010 Managed API to get the total size of a user's mailbox. I haven't found a web service method to get this data, so I figured I would try to calculate it. I found one seemingly-applicable question on another site about finding mailbox sizes with EWS 2007, but either I'm not understanding what it's asking me to...

How do you bypass TLS/SSL cetification validation in WCF for Exchange Web Services

I wan't to bypass SSL and use regular http protocol to connect to a Exchange 2007 server however we dont want to invest in a real SSL cert and the one we use is needed for blackberry enterprise server. Is there a way to bypass this here is the exception Request failed. The underlying connection was closed: Could not establish trust r...

can xpath be used in outgoing SOAP request (envelope) regardless of SOAP server config?

I'm trying to figure out two things: Can Xpath be used to query a SOAP-based web services server? Is this built into the SOAP protocol such that any good SOAP server would handle the requests correctly without having to add custom handling of XPath queries? The two questions may seem redundant, but I'm breaking them because: I don'...

sending email exchange web service works in US but not when run from columbia

I have posted similar question before . I have tried 2 things here .. C# code to make use of MS exchange web service exposed by our companys server, and send emails. THis works in our US offfice ... when i run the same application from our columbian client .. it does not work. C# code to send email a) use senMail C# API b) C# sc...

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:...

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? ...

Calling a wsdl in php over https

I'm trying to connect to the next webservice: https://grab.beta.agiv.be/Tools/CRABTools.svc?wsdl I also have to add a header element which I have already created Can i call it just using php soapclient or zend_soap_client? Or do I have to use nusoap_client? I try something like: $soapclient = new nusoap_client($wsdl); $header = ""; /...

Exchange Web Services - Processing Messages and Accessing Attachments

I'm in the process of writing a simple console app that monitors a particular exchange mailbox, and when emails meeting particular criteria are received, the app will download an XML file attachment, and archive the email. I've connected to EWS OK, and have been able to loop through any emails, but I'm struggling when it comes to create...

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, ...

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...

How do I share sign-in information between Outlook Web Anywhere and Exchange Web Services?

I'm attempting to develop a chrome extension which will allow a user to use Outlook Web Anywhere more effectively. During development, I noticed that there doesn't appear to be any way to share login information between OWA (which uses form based authentication) and Exchange Web Services (which I'm using for the bulk of the extension), ...

Body of CalendarItem hidden in Outlook 2007?

I have created a calendar item using EWS, which contained a plain-text body. When I view this calendar item in Outlook 2007, nothing appears in the body, but when I view it using OWA (The web interface), I can see the body. Anyone have any idea why this is? ...

Exchange Web Services - Send email with attachment

I'm new to using EWS and I'm looking for a simple example that demonstrates how to send an email with an attachment. I've searched for an example and I can't find any that are simple and clear-cut. I've found examples about how to send an email but not sending an email with an attachment. Does anyone have a link to an example they wou...

different Target format types of XmlMessageFormatter

What are the different Target formats with respect to System.Messaging.XmlMessageFormatter(....) in C#.NET As i'm well known about receiving data in terms of string formats. I would like to know the format target types other than strings in System.Messaging.XmlMessageFormatter(.......) while receiving the result from message queues. Pl...

How to find attachment is there or not in the mail using Exchange web service without GetItem() method operation.

Hi, I'm able to find/determine the attachment is there or not in a mail using Exchange Web Service Binding using GetItem() method. But using GetItem() method leads to costlier operation in terms of performance and not recommended in our project requirement. I would require information that by passing ItemID alone without GetItem() met...