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
25
votes
1 answer

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…
Adam Tuttle
  • 19,505
  • 17
  • 80
  • 113
24
votes
2 answers

Modifying EKParticipants (attendees) in EventKit like Sunrise

My goal is to add some invitees to an EKEvent. I've looked into other questions like this, such as this one, but all say that it is essentially impossible to add EKParticipants to an EKEvent programmatically. I do see that the attendees property is…
rebello95
  • 8,486
  • 5
  • 44
  • 65
19
votes
6 answers

Get the email address of the current user in Outlook 2007

I have an Outlook add in written in C#. I was wondering how or if I could get the email address of the current user? Thanks
electricsheep
  • 5,114
  • 9
  • 37
  • 41
19
votes
2 answers

How to check an exchange mailbox via powershell?

How would I go about using powershell to return the text and headers of the last 5 messages received to my exchange email account? Is there a simple way/library to do this? This is related to my question about not using outlook on superuser. Except…
George Mauer
  • 117,483
  • 131
  • 382
  • 612
19
votes
2 answers

CodeIgniter SMTP email message - characters replaced with equal signs

I'm using the CodeIgniter email library to send emails using our Exchange server. The problem I get is that the content of the email gets messed up. There are some words that get replaced with equal signs "=", I tried 2 different Exchange servers…
Alex
  • 1,630
  • 1
  • 20
  • 31
18
votes
3 answers

Exchange Web Services (EWS) FindItems within All Folders

I am using the following code to find all the emails sent from a user, however this only searches the main Inbox folder and doesn't check any sub-folders. I would like to search all the mail items including any sub-folders. I have tried the…
Luke
  • 6,195
  • 11
  • 57
  • 85
18
votes
1 answer

getting autodiscover URL from Exchange email address

I'm starting with an address for an Exchange 2007 server: user@domain.exchangeserver.org 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…
Anthony
  • 36,459
  • 25
  • 97
  • 163
18
votes
1 answer

Fetching all mails in Inbox from Exchange Web Services Managed API and storing them as a .eml files

I want to fetch all mails in the Inbox folder using EWS Managed API and store them as .eml. The problem is in fetching (1) all mails with (2) all headers (like from, to, subject) (I am keeping information of those values of from, to and other…
Mahesha999
  • 22,693
  • 29
  • 116
  • 189
18
votes
4 answers

Relay access denied on sending mail, Other domain outside of network

Sending mail results in error "Relay access denied". It throws "Relay access denied", whenever I tried to send mail to "other_domain" from "outside_network". It works just fine for "myown_domain" from "outside/inside_network" and to "other_domain"…
man19688
  • 301
  • 1
  • 2
  • 6
18
votes
2 answers

Using EWS API to search through different users mailboxes

We are developing a module with the main goal being to track and collect information about damage inspections (insurance market). Each case has a code (e.g. L000525). Each case could be managed by several people. All the emails related to a…
user195462
18
votes
3 answers

What is the unique identification for emails?

I'm trying to find the guaranteed unique identifier to distinguish emails from each other. Currently, I am writing an application which connects to Microsoft Exchange, however I want to be able to support other email services. I think that the…
myermian
  • 31,823
  • 24
  • 123
  • 215
17
votes
2 answers

How do i find out if an appointment is private

I use Exchange Server Managed API. How do I find out if an appointment is private? There doesn't seem to be a method or property in the "Appointment" class.
Luke
  • 5,771
  • 12
  • 55
  • 77
17
votes
1 answer

EWS Java API: The meeting request is out of date. The calendar couldn't be updated

I am using the Microsoft EWS Java API to create and accept appointments on behalf of some users. The way I am doing this is by sending the meeting request and then setting up inbox watchers on the recipient's inbox and accepting the incoming…
pathikrit
  • 32,469
  • 37
  • 142
  • 221
17
votes
8 answers

Send SMTP email testing Microsoft Office 365 in .net

i have a mail account on the Exchange Online service. Now i'm trying to test if i am able to send mails to customers ( on varoius domains and on Microsoft Office 365) through c# application I tried implementing the below code but i am getting the…
user166013
  • 1,411
  • 4
  • 21
  • 37
17
votes
3 answers

Where can I get the latest Microsoft.Exchange.WebServices.DLL?

I'm trying to use the latest Exchange Web Services DLL, however when I search my hard drive I see many versions of Microsoft.Exchange.WebServices.DLL, the most recent being version 14.0.650.7 with a date of 1/24/12. I want to rebuild my machine but…
makerofthings7
  • 60,103
  • 53
  • 215
  • 448