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

c# programmatically reading emails from the Exchange server

When you search on web you will find very easy answers for "How to read emails programmatically"... Al the websites are explaining most of the same like this page. http://omegacoder.com/?p=454 // depends from Exchange server version …
ethem
  • 2,888
  • 9
  • 42
  • 57
9
votes
3 answers

Unable to send too many emails in short time

I have a correspondence application where each user creates a correspondence and send it to multiple users (average send us between 2-30 user), with each send I open a new thread and send email to group of users in the following flow (connect to…
Mahmoud Saleh
  • 33,303
  • 119
  • 337
  • 498
9
votes
1 answer

Is it possible to use default network credentials with Mailkit and Exchange?

I'd like to use MailKit to send an email through our Exchange server, using the credentials of the process. Building up a NetworkCredential with domain/username/password works: using (var client = new SmtpClient(ProtocolLogger)) { …
JamesD
  • 440
  • 6
  • 16
9
votes
1 answer

EWS: NetworkCredential not compatible with ExchangeCredentials in F#

I like to use the Microsoft.Exchange.WebService API: C# works fine ExchangeService service = new ExchangeService(userData.Version); service.Credentials = new NetworkCredential(userData.EmailAddress, userData.Password); F# gives the error: The type…
KCT
  • 287
  • 1
  • 10
9
votes
1 answer

Can we connect to Exchange 2016 using EWS Managed API?

I am using EWS Managed API 2.2 and it does not show the Exchange version 2016 in its enumeration. I can see the versions upto Exchange 2013. So how can I connect to Exchange Server 2016? Is the API, yet to be updated from Microsoft or do I need to…
9
votes
3 answers

EWS - Access All Shared Calendars

I've got the following code: private void ListCalendarFolders(ref List items, int offset) { var pageSize = 100; var view = new FolderView(pageSize, offset, OffsetBasePoint.Beginning); view.PropertySet =…
synic
  • 26,359
  • 20
  • 111
  • 149
9
votes
7 answers

Accessing an Exchange Server without Outlook

Is there a method of accessing an Exchange server that does not have IMAP or POP3 enabled without Outlook? It does not appear that Outlook Express supports Exchange (only IMAP and POP3).
Thomas Owens
  • 114,398
  • 98
  • 311
  • 431
9
votes
3 answers

System.Net.Mail.SmtpException: Insufficient system storage. The server response was: 4.3.1 Insufficient system resources

I've recently designed a program in C# that will pull information from SQL databases, write an HTML page with the results, and auto-email it out. I've got everything working [sporadically], the problem I'm having is that I seem to be crashing our…
Chrsjkigs99
  • 850
  • 1
  • 9
  • 18
9
votes
4 answers

Exchange 2003 - which API to use to find out room/resource availability?

I need to expose room availability information from a web service that will be consumed by a number of other applications. The availability information is stored within Exchange 2003, and can be viewed using Outlook 2003/2007 today. What API or Web…
Brian Lyttle
  • 14,558
  • 15
  • 68
  • 104
9
votes
1 answer

Active Directory (LDAP) query/filter to retrieve Exchange distribution lists

I am looking for an LDAP query that would retrieve Exchange distribution lists. If I am doing the simple (objectClass=Group) I will get too many groups, most of them not useful.
sorin
  • 161,544
  • 178
  • 535
  • 806
9
votes
2 answers

Using custom display name when sending email through EWS

I'm using EWS (Exchange Web Services) with Exchange 2010 to generate and send emails internally within our organization. We currently have a single mailbox/user for which all of our applications send through called app. Generating emails is no…
KP.
  • 13,218
  • 3
  • 40
  • 60
8
votes
5 answers

How do I send an email to an Exchange Distribution list using c#

I need to send an email to an Exchange distribution list called "DL-IT" using c#. Does anyone know how to achieve this?
Calanus
  • 25,619
  • 25
  • 85
  • 120
8
votes
1 answer

Exchange Web Services (EWS) API "To" header for alias

I have an inbox set up in exchange, hello@mycompany.com Additionally, there is an alias for this, news@mycompany.com, so all emails to the news address end up in the hello inbox. Ideally, I want to be able to tell which alias an email has been sent…
8
votes
1 answer

ews java api - How to set permission/classification (public/restricted/internal) to Email message

I am drafting email in custom folder. EmailMessage msg= new EmailMessage(service); msg.setSubject("Hello world!"); msg.setBody(MessageBody.getMessageBodyFromText("Draft email using the EWS Java…
StackOverFlow
  • 4,486
  • 12
  • 52
  • 87
8
votes
4 answers

How Can I Specify Credentials for Simple Authentication in SSIS SMTP Connection Manager?

We have several asp.net web apps that send emails, and the MailMessage object is configured with an SMTP server, username and password. The emails are sent with no problems. In an SSIS package, I added an SMTP connection manager, and I configured…
fdkgfosfskjdlsjdlkfsf
  • 3,165
  • 2
  • 43
  • 110