Rebex EWS

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

Download 30-day free trial Buy from $199
More .NET libraries
using (var client = new Rebex.Net.Ews())
{
  // connect and login
  client.Connect(hostname, SslMode.Implicit);
  client.Login(username, password);

  // get all messages in the Inbox folder and show them
  var list = client.GetMessageList(EwsFolderId.Inbox);

  foreach (EwsMessageInfo messageInfo in list)
  {
    Console.WriteLine(messageInfo.Subject);
  }
}     
Show me more code...

.NET library for accessing Microsoft Exchange servers using Exchange Web Services (EWS). Makes it possible to send, receive, list and search e-mail messages. Supports TLS 1.3/1.2 and S/MIME.

Also includes SMTP library for sending e-mails using SMTP servers.

Why Rebex EWS?

Easy-to-use API

Connect, log in, search for new messages, download messages. Send emails, work with attachments. It's easy to start developing with our library. Simple code for common use cases.

MIME and S/MIME API

API for MIME and S/MIME messages is included. Supports signing and signature validation. Based on X.509 certificates and Cryptographic Message Syntax (PKCS #7).

PC and mobile

Supports wide range of .NET platforms.

Suitable for .NET on Windows, Mac, Linux, iOS and Android.

Documentation

Documentation with C# code snippets.

Platforms

.NET

8, 7, 6, 5

.NET Framework

3.5 SP1, 4.0-4.8.1

.NET Core

3.1

Mono

6.0 or higher

Xamarin.iOS

13.10 or later

Xamarin.Android

10.1 or later

Legacy platforms

(not included in standard product packages - see more)

 

.NET Compact Framework

3.5/3.9

.NET Framework

2.0-3.5