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
16
votes
4 answers

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…
tvanfosson
  • 524,688
  • 99
  • 697
  • 795
16
votes
4 answers

When searching Global Address List, is there a way to do a partial search and not just a "startsWith"

I have the following code to search the global address book by a certain string: "CONF" var esb = new ExchangeServiceBinding(); esb.Url = @"https://myurl.com/EWS/Exchange.asmx"; esb.Credentials = new NetworkCredential(_user,_pwd, _domain); var…
leora
  • 188,729
  • 360
  • 878
  • 1,366
16
votes
4 answers

Getting a sent MailMessage into the "Sent Folder"

I'm sending MailMessages with an SmtpClient (being delivered successfully) using an Exchange Server but would like my sent emails to go to the Sent Folder of the email address I'm sending them from (not happening). using (var mailMessage = new…
Robert Reid
  • 415
  • 1
  • 6
  • 12
16
votes
2 answers

EWS Managed API find items with ItemID

I am trying to find items from deleted items folder given the items unique id ItemId id = new ItemId("zTK6edxaI9sb6AAAQKqWHAAA"); SearchFilter.IsEqualTo filter = new SearchFilter.IsEqualTo(ItemSchema.Id, id); ItemView view = new…
nilobarp
  • 3,806
  • 2
  • 29
  • 37
15
votes
3 answers

Diffie-Hellman key exchange in Java

I am working on a personal project in Java which involves sending sensitive data over an insecure channel. I need to know how to implement Diffie Hellman Key Exchange (DHKE) in java using its libraries. I know all the cryptographic theory about it…
user2435860
  • 778
  • 3
  • 9
  • 22
14
votes
10 answers

Access exchange e-mail in C#

Do you know if there's a way? I've used this library to access a pop3 server, but it doesn't work with an exchange server. Do you know of any other library or piece of code that'll show me how to do it? I cannot change any settings on the server.
juan
  • 80,295
  • 52
  • 162
  • 195
14
votes
6 answers

Interacting with Outlook appointments using rails

I have a rails application running on a Linux server. I would like to interact with Outlook/Exchange 2003 appointments from the rails application. For example, certain actions should trigger sending an appointment, and then preferably…
Roland
  • 1,166
  • 11
  • 18
14
votes
1 answer

Microsoft.Exchange.WebServices is not working in VS2010

I'n using EWS ExchangeService to read emails from outlook... I've coded the in Console project and in VS2008... Everything works fine as it is.. I can read the emails. To become more familair with VS2010 I created a console project and copied the…
ethem
  • 2,888
  • 9
  • 42
  • 57
14
votes
2 answers

How to get contact list from Exchange Server?

Can anyone tell me the simplest way to get a contact list from Exchange Server? I'm using C# From what I found out, Exchange Web Services only exists for Exchange Server 2007 and beyond. That would be my first option, but I'd also like an…
Johnny
  • 169
  • 1
  • 2
  • 8
14
votes
4 answers

How To Get all ITEMS from Folders and Sub-folders of PublicFolders Using EWS Managed API

How to retrieve all items from "public folders" and its "sub-folders" in exchange server2010 uisng managed API??? rootfolder = Folder.Bind(service,WellKnownFolderName.PublicFoldersRoot); rootfolder.Load(); …
user1891567
  • 681
  • 2
  • 10
  • 15
14
votes
4 answers

'5.7.1 Client does not have permission' error while sending email from code

So I have this very basic program that is trying to send an e-mail, but I keep getting Mailbox unavailable. The server response was: 5.7.1 Client does not have permissions to send as this sender Here is my program static void Main(string[]…
Kevin DiTraglia
  • 25,746
  • 19
  • 92
  • 138
14
votes
3 answers

How to do paging with Exchange Web Services CalendarView

If I do this: _calendar = (CalendarFolder)Folder.Bind(_service, WellKnownFolderName.Calendar); var findResults = _calendar.FindAppointments( new CalendarView(startDate.Date, endDate.Date) ); I sometimes get an exception that too many items…
tig
  • 3,424
  • 3
  • 32
  • 65
13
votes
6 answers

JavaMail with MS Exchange: No authentication mechansims supported by both server and client

I've been trying for days now to send mail from Grails application and unsuccessfully. I'm using: grails 1.3.7 mail 1.0 plugin spring-security-core 1.2.6 plugin tomcat 7.0.23 Specifficaly I'm trying to send mail with Exchange from application…
drago
  • 1,207
  • 4
  • 24
  • 45
13
votes
1 answer

How do I interface with Exchange Server using C#?

We had a bit of a snafu on our e-mail server and the permissions went out of whack on our users e-mail folders. Unfortunately our users are all on Outlook Web Access and do not have access to change the permissions on their e-mail folders. What I've…
Biff MaGriff
  • 8,102
  • 9
  • 61
  • 98
13
votes
3 answers

JAX-WS Sharepoint 401 Unauthorized NTLM

I try to access a Sharepoint list via JAX-WS as described here However, when running the code below I get: java.lang.Exception: Exception. See stacktrace.com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 401:…
Christoph
  • 131
  • 1
  • 1
  • 3