MailBee.NET EWS Component

MailBee.NET EWS Component

Work with MS Exchange and Office 365 via native Exchange protocols
MailBee.NET Objects bundle includes SMTP, POP3, IMAP, EWS, Security, Antispam, Outlook Converter, Address Validator, PDF components and also BounceMail, HTML, MIME, ICalVCard components which are a free functionality.

MailBee.NET EWS is a lightweight .NET component which lets applications send, receive and otherwise process e-mail messages, contacts, appointments, work with folders, attachments, shared mailboxes on MS Exchange and Office 365 servers via Exchange Web Services. Backed with commercial-grade support.

Written in 100% managed code, MailBee.NET EWS only requires the .NET framework be installed on the computer. It has dependency on EWS Managed API library from Microsoft, this .DLL is installed with the product or can be obtained via NuGet.

Visual Studio

Xamarin

MailBee.NET EWS can be used in any .NET language including C# and VB.NET. Supported .NET frameworks include .NET 3.5/4.0/4.5/4.6/4.7/4.8, both 32-bit and 64-bit.

Also supports .NET Core 2.0/3.0/3.1, .NET 5.0/.NET 8.0 and newer including ASP.NET Core, Xamarin and UWP (Universal Windows).

With MailBee.NET Objects license, you also get these MailBee.NET components for free: BounceMail, HTML, MIME, ICalVCard.


Top 100 publisher by ComponentSource

Over the years, MailBee.NET Objects has been among bestsellers on ComponentSource, the world's leading online shop of developer tools.

Current version: 12.4 Last update: 06 December 2023

EWS Object

  • Autodiscover mail server settings from e-mail address
  • Send message
  • Save a copy of sent message to Sent Items
  • List folders
  • Examine folder properties (e.g. calculate folder size)
  • Download folder contents (messages, contacts, etc)
  • Download attachments together with messages or separately
  • Search folders for messages
  • Sort search results by multiple criteria
  • Specify which parts of messages to download
  • Add or remove attachments to/from existing messages
  • Create, delete, rename or move folders
  • Delete or move messages
  • Upload messages to the server
  • Set message flags (e.g. change Seen/Unseen status)
  • Resolve a person's name into their e-mail address

Ews Object reference...

MailMessage Object

  • Import and export from/into System.Net.Mail.MailMessage
  • Used by Smtp object as outgoing e-mail
  • Returned by Pop3 and Imap objects as incoming e-mail
  • Multiple recipients (To/CC/BCC)
  • Multiple attachments
  • Advanced mail merge
  • Can be encrypted, signed, decrypted, or verified with Smime object
  • Easy access to plain-text and HTML body
  • Full support of international encodings and charsets
  • Can extract attachments from MS-TNEF (winmail.dat) files
  • Access to every MIME part
  • Access to all message headers
  • Access to message timestamps ("Received:" headers)
  • UNIQUEConversion from HTML to plain-text and vice versa including high-lighting of URIs, images, quotations, etc
  • UNIQUEFull support of creating and displaying HTML messages with embedded pictures in desktop and web applications
  • UNIQUEAccess forwarded messages (GetEncapsulatedMessage)
  • Forward message as attachment
  • Import HTML file or web page into e-mail
  • Import & export message data from/into memory, file and stream
  • Serialize into XML and deserialize from XML
  • Base64 and Quoted-Printable
  • Confirm Read & Confirm Receipt
  • Reply-To, Priority, Importance, Sensitivity, etc

MailMessage Object reference...

What's new

Version 12.4

  • .NET 8.0 officially supported

See Version History for details

Version 12.2

  • Documentation improvements.

Version 12.0

  • EWS is now supported for .NET Core and UWP (.NET Core 2.0/.NET Standard 2.0 required).
  • EWS functionality was moved into a friend assembly, MailBee.NET.EWS, and corresponding MailBee.NET.EWS NuGet package.
  • OAuth 2.0 is now supported in EWS, with Ews.SetCredentials(ExchangeCredentials) method.

Clients Say:

"I've been looking at the MailBee.NET application and love it." Matt Yeager
"Thanks again for your help. I like your products..." Ron Hill
"By the way I love your software. Great work thank you." Dennis Drogemuller