Rebex EWS

EWS, SMTP, MIME, S/MIME libraries for .NET

Download 30-day free trial Buy from $199
More .NET libraries

Back to feature list...

Compatibility

See also platforms and standards the mail library is compliant with.

XCOPY deployment 

When distributing an application using Rebex EWS library, simply copy the following DLL files (.NET assemblies) with your application:

  • Rebex.Common.dll
  • Rebex.Networking.dll
  • Rebex.Mail.dll
  • Rebex.Smtp.dll
  • Rebex.Ews.dll

There is no need to install, configure or distribute anything else to make them work.

Rebex EWS license is royalty-free - you can distribute your application to unlimited number of users or computers without any additional fees.

Supported Exchange Web Services versions 

The following servers currently support Exchange Web Services (EWS):

  • Microsoft Exchange 2007
  • Microsoft Exchange 2010
  • Microsoft Exchange 2013
  • Microsoft Exchange 2016
  • Microsoft Office 365 (Exchange Online)
Warning: Microsoft plans to discontinue the possibility to connect to Exchange Online using EWS. Newly, you can connect via the Microsoft Graph API using the Rebex Graph library.

Fine-tuning client behavior 

The Smtp and Ews objects makes it possible to adjust various client settings and workarounds.

Some settings are available at the Smtp and Ews objects themselves. This includes the Encoding property (not available for Ews) that specifies a charset to be used when encoding commands and decoding responses. However, since all of those should normally use ASCII, changing the default value is seldom needed.

// create client instance
// ...

// set encoding to UTF-8
client.Encoding = Encoding.UTF8;
' create client instance
' ...

' set encoding to UTF-8
client.Encoding = Encoding.UTF8

The common settings include a Timeout property as well. Use it to change the default timeout value of 60,000 milliseconds.

Back to feature list...