Questions tagged [exchange-server]

Questions about automation and APIs related to Microsoft's Enterprise level messaging server.

Microsoft Exchange Server is the server side of a client–server, collaborative application product developed by Microsoft. It is part of the Microsoft Servers line of server products and is used by enterprises using Microsoft infrastructure products. Exchange's major features consist of electronic mail, calendaring, contacts and tasks; support for mobile and web-based access to information; and support for data storage.

Use this tag on programming questions related to the use of this product - questions on installation, maintenance and configuration are better asked on Server Fault, while questions on the use and configuration of Outlook or other email clients are better directed to Super User.

See also:

4797 questions
8
votes
2 answers

Does Exchange Server (in-house) suppport REST API?

This document that applies to Exchange Server suggests that the bulk of API / Web Services is SOAP based: https://msdn.microsoft.com/en-us/library/office/dd877012(v=exchg.150).aspx However i see that Office 365 (which i assume is cloud based)…
8
votes
3 answers

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 =…
8
votes
2 answers

Email Conversations / Email Threading support in EWS Managed Api (against Exchange 2010 or so)

The EWS Managed API has a handful of functions for retrieving and managing email conversations (aka email threads). Unfortunately, a large part of them work only against new versions of Exchange (2013 etc.) Outlook does implement email threading…
8
votes
0 answers

EWS Managed API breaks Appointment HTML message body on update

I'm using EWS Java 1.2, although 2.0 in C# shows the exact same issues, and Exchange 2010 SP3, so a particular bug in SP2 prior to rollup 3 regarding message bodies is not the problem. Long story short: EWS + Exchange = pain. Using EWS in Exchange,…
8
votes
1 answer

Exchange Web Services API : get mail attachments

I am using the EWS API 1.2 to access mailboxes on our Exchange Server. This just works fine but there is one thing I cannot achieve : get mail attachments. Im wrote the following lines : class Program { public static void Main(string[] args) …
KMarron
  • 503
  • 1
  • 6
  • 15
8
votes
3 answers

C# MS Exchange Move Email To Folder

Added: thanks to user @grapkulec, I am using using Microsoft.Exchange.WebServices.Data; I am trying to move an email to a folder that I've already created in Outlook (using MS Exchange). So far, I've been able to move the email to the drafts or…
Kprof
  • 742
  • 1
  • 8
  • 16
7
votes
1 answer

Retrieving emails from Exchange sorted by datetime received

When reading items from an Exchange mailbox, I'd like to be explicit in that they're picked up in order that they were received (datetime received) - earliest first. How can I specify (on the ItemView?) the sort value(s), and sort direction? using…
p.campbell
  • 98,673
  • 67
  • 256
  • 322
7
votes
4 answers

Node.js integration with MS Exchange EWS

I am attempting to use Node.js to call the SOAP Exchange EWS services. I have created a simple http client like so: var https = require('https'); var username = 'user'; var password = 'password'; var auth = 'NTLM ' + new Buffer(username + ":" +…
AngryMonkey
  • 144
  • 1
  • 1
  • 7
7
votes
2 answers

Whats is this format called? "/o=First Organization/ou=First Administrative Group/cn=Recipients/cn=user"

What format is the following string called in regards to Microsoft Exchange? /o=First Organization/ou=First Administrative Group/cn=Recipients/cn=user I've seen this using LDAP, but now seeing it CDO 1.2.1 and ultimately trying to convert it to an…
Chad Harrison
  • 2,836
  • 4
  • 33
  • 50
7
votes
2 answers

PowerShell ParameterBindingException

I am currently building an application to automate some Exchange 2010 operations from a ASP.NET MVC website. Right now, I've run into a ParameterBindingException when I try to invoke the New-AddressList command. I am trying to create the following…
kfuglsang
  • 2,385
  • 2
  • 21
  • 26
7
votes
2 answers

PHP IMAP Exchange Issue

So I have a little problem with a PHP script I'm currently writing. To start off, let me say the script is supposed to connect to an IMAP mailbox, search for some emails and download their attachments. All of this is already coded and is working…
Afrosimon
  • 285
  • 1
  • 4
  • 14
7
votes
4 answers

Office 365 room mailboxes CalendarProcessing access via Microsoft Graph

When using rooms and equipments, Exchange (in Office 365, but in other versions as well) uses a number of options to handle requests for those resources in events. By default, Exchange will for instance strip the subject when creating the event in …
jcaron
  • 17,302
  • 6
  • 32
  • 46
7
votes
1 answer

How can I get the mailbox email details from Exchange Server for a user which don't have default mailbox (I have no default mailbox)?

Hi I want to access the email of mailbox which is assign to me but it is not my primary mailbox in my Exchange Server. I was able to get details of the mailbox server which is assigned to me, but I have a user which doesn't have a mailbox. I want to…
7
votes
2 answers

How do I send HTML (multipart/alternative) from Exchange Web Services (2010 SP1)

This issue came to light as I was trying to send an HTML message with inline images (attachments) through EWS. However I have backed off to the simplest form and found that I cannot even send HTML messages. I am using C#, .NET 4, EWS API 1.1,…
7
votes
2 answers

Techniques for integrating an ASP.NET intranet app with the Outlook calendar

I can ignore the braying of my users no longer. They want a task scheduling system and at some point I have to deliver. I was thinking of making my own (can't be hard), but then users would have two side-by-side task managements systems since they…
David
  • 15,750
  • 22
  • 90
  • 150