Skip to main content
.NETFramework3.5.NETFramework4.6.2.NETStandard2.0

GemBox.Email is a .NET component that enables developers to read and write email files (MSG, EML, MHTML), and compose, receive and send email messages using IMAP, POP, SMTP, and EWS from .NET applications in a simple and efficient way.

Published
Oct 8, 2024
2y ago
Total Downloads
4.8M
4,755,463

Install

dotnet add package GemBox.Email --version 17.0.1255
ProductVersions
.NET Standard
netstandard2.0
Other
.NETFramework3.5.NETFramework4.6.2

README

What is GemBox.Email?

GemBox.Email is a .NET component that enables you to read, write, and convert email files (MSG, EML, and MHTML), or send and receive email messages (POP, IMAP, SMTP, and EWS) from .NET applications.

With GemBox.Email you get a fast and reliable component that’s easy to use and doesn't depend on Microsoft Outlook. It requires only .NET so you can deploy your applications without having to think about other licenses.

GemBox.Email Features

Get Started

You are not sure how to start working with email messages in .NET using GemBox.Email? Check the code below that shows how to create an email message from scratch and send it.

// If using Professional version, put your serial key below.
ComponentInfo.SetLicense("FREE-LIMITED-KEY");

// Create a new email message.
MailMessage message = new MailMessage(
  new MailAddress("[email protected]", "Sender"),
  new MailAddress("[email protected]", "First receiver"),
  new MailAddress("[email protected]", "Second receiver"));

// Add subject and body.
message.Subject = "Hello World!";
message.BodyText = "Hi đź‘‹,\n" +
    "This message was created and sent with GemBox.Email.";

// Create a new SMTP client and send the email message.
using (SmtpClient smtp = new SmtpClient("<ADDRESS> (e.g. smtp.gmail.com)"))
{
    smtp.Connect();
    smtp.Authenticate("<USERNAME>", "<PASSWORD>");
    smtp.SendMessage(message);
}

For more GemBox.Email code examples and demos, please visit our examples page.

Resources

Changes from Previous Version

v17.0.1250v17.0.1255
Added Frameworks
.NETFramework3.5.NETFramework4.6.2.NETStandard2.0
Added Dependencies
BouncyCastle(.NETFramework3.5)
Pkcs11Interop(.NETFramework3.5)
BouncyCastle.Cryptography(.NETFramework4.6.2)
Pkcs11Interop(.NETFramework4.6.2)
System.Buffers(.NETFramework4.6.2)
System.Text.Json(.NETFramework4.6.2)
System.ValueTuple(.NETFramework4.6.2)
Pkcs11Interop(.NETStandard2.0)
Portable.BouncyCastle(.NETStandard2.0)
System.Buffers(.NETStandard2.0)
System.Text.Json(.NETStandard2.0)

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.