Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

GemBoxLtd/GemBox.Email.Examples

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
83 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NuGet version NuGet downloads

GemBox.Email .NET Email library

What is GemBox.Email?

GemBox.Email is a .NET library 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 library 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("sender@example.com", "Sender"),
    new MailAddress("first.receiver@example.com", "First receiver"),
    new MailAddress("second.receiver@example.com", "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.

Installation

You can download GemBox.Email from NuGet 📦 or from Downloads 🛠️.

AI Coding

CLI coding agents such as GitHub Copilot, Claude Code, and OpenAI Codex can write valid GemBox code when enabled with our gembox-skill.

Resources

About

GemBox.Email is a .NET library 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 in a simple and efficient way.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.