exchangews

Exchange WS 'The specified object was not found in the store.' error

Hi all, We're using Exchange 2007 WS to process mail folders and are hitting various problems if we try and forward a message we've already received. Our process is: Windows Service monitors mailbox folder, on finding a new mail we process the information and move the item to a 'Processed folder' and store the Exchange Message Id. Use...

Exchange Web Services vrs WebDAV

What are some good resources for learning Exchange Web Services? I'm familiar with webDAV and was wondering if exchange web services might be better for some integration we do with exchange. ...

Exchange Web Services and Property Sets

I need to retrieve calendar information by invoking the Exchange Web Service in BPOS. I'm using a CalendarView with a PropertySet to retrieve as little data as possible. However, property sets seems to be limited. I need the EmailAddress of the one who made the calendar appointment so I thought I could use the AppointmentSchema.Organizer...

Silverlight 3 - Exchange Web Service

Hi, In my Silverlight 3 app, I just added a Service Reference to the Exchange 2007 Web Service (EWS). After doing so, I got the following warning: Custom tool warning: No endpoints compatible with Silverlight 3 were found. The generated client class will not be usable unless endpoint information is provided via the constr...

Using ExchangeService to Add Appointment Occurances

The target is someone's Exchange Calendar (2007). I want to add a simple "Appointment Occurance" to someone's calendar. This code works (I am using the Microsoft.Exchange.WebServices.dll): service = new ExchangeService(ExchangeVersion.Exchange2007_SP1); service.Credentials = new NetworkCredential("supervisor", "password", "DOMAIN.COM");...

How do I retrieve global contacts with Exchange Web Services (EWS)?

I am using EWS and wish to obtain the global address list from exchange for the company. I know how to retrieve the personal contact list. All the samples in the API documentation deal with updating user information but not specifically how to retrieve them. I've even tried the following to list the folders but it doesn't yeild the cor...

Search EWS CalendarItems with last modified time

I'm searching CalendarItems with ExchangeWebServices..In msdn document there is a field as LastModifiedTime. How do I query CalendarItems by LastModifiedTime with ExchangeServerBindings ? ...

Using EWS Managed API to create appointments for other users?

In EWS Managed API is it easy to create an appointment for a specific user: ExchangeService service = new ExchangeService(); service.Credentials = new NetowrkCredentials ( "administrator", "password", "domain" ); service.AutodiscoverUrl(emailAddress); Appointment appointment = new Appointment(service); appointment.Subject = "Testing"; ...

Folder.Bind - "Id is malformed" - Exchange Web Services Managed API

I'm passing the Folder.Id.UniqueId property of a folder retrieved from a FindFolders query via the query string to another page. On this second page I want to use that UniqueId to bind to the folder to list its mail items: string parentFolderId = Request.QueryString["id"]; ... Folder parentFolder = Folder.Bind(exchangeService, parentFo...

How come IPhone and WinCE based smart phone mail still works with Exchange?

Hi We have a device that uses Exchange web services to download mail and calendar information. It uses active directory credentials to authenticate itself with Exchange. The device stores user id and password. When user changes password from his PC (as IT enforce password expiration), the device mail stops working until the password on ...

How to programmatically add mailbox alias on an Exchange 2007 server from C# web app?

As the subject says, I have a C# web application (.NET 3.5) that's communicating with an Exchange 2007 server. What I need help with is to programmatically (preferably from the web app itself) add a new mailbox alias to a certain mailbox and then before sending out the mail set the new alias as the reply-to address. I'm fairly new to s...

Exchange 2007 Mailbox Permissions (Without Powershell Cmdlets)

Is there a way to grant a user "Full Mailbox Access" to a users mailbox without using the Exchange Management Shell components? Wanting to grant the access remotely but without having to deploy powershell and the EMS components. I'm working in C# (.Net 3.5) with Exchange Server 2007 SP1. Any comments or suggestions are greatly apprecia...

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

How can I detect if this dictionary key exists in C#?

I am working with the Exchange Web Services Managed API, with contact data. I have the following code, which is functional, but not ideal: foreach (Contact c in contactList) { string openItemUrl = "https://" + service.Url.Host + "/owa/" + c.WebClientReadFormQueryString; row = table.NewRow(); row["FileAs"] = c.FileAs; ro...

Manipulating Exchange 2003 shared contacts folder remotely

I've got a CRM web app running on a remote server that needs to synchronise it's contacts with the in-house Exchange 2003 shared contacts. Exchange 2003 doesn't appear to support web services. What would the typical approach to this problem be? My initial instinct would be to open port 80 on the Exchange server, run a simple webserver, ...

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

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

Error when I try to read/update the .Body of a Task via EWS Managed API - "You must load or assign this property before you can read its value."

I am using the Exchange Web Services Managed API to work with Tasks (Exchange 2007 SP1). I can create them fine. However, when I try to do updates, it works for all of the fields except for the .Body field. Whenever I try to access (read/update) that field, it gives the following error: "You must load or assign this property before y...

Cross folder searching of Exchange using Exchange Web Services

Is there a way to search Exchange using the EWS Managed API for all email messages across ALL folders. I'm using the FindItems API call -- but that appears to require that the search be confined to a single folder. private void InternalPurgeProcessFolder(FolderId folderId, ExchangeService service, SearchFilter searchCriteria) { ...

How do I discover all mailboxes for an Exchange Server using Exchange Web Services?

I'm using Exchange Web Services Managed API 1.0 to access the Exchange servers (2007) in my organization. I need to iterate over all the mailboxes on a given server. I haven't seen a way to get the list of mailboxes defined for a given Exchange server. I have been able to use the AutoDiscover service to find the address of a hub serve...