GemBox.Email
17.0.1064
dotnet add package GemBox.Email --version 17.0.1064
NuGet\Install-Package GemBox.Email -Version 17.0.1064
<PackageReference Include="GemBox.Email" Version="17.0.1064" />
paket add GemBox.Email --version 17.0.1064
#r "nuget: GemBox.Email, 17.0.1064"
// Install GemBox.Email as a Cake Addin
#addin nuget:?package=GemBox.Email&version=17.0.1064
// Install GemBox.Email as a Cake Tool
#tool nuget:?package=GemBox.Email&version=17.0.1064
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
- Create a mail message with attachments and a multi-format message body.
- Save and load mail messages to and from an MSG / EML / MHTML / MBOX file or a stream.
- Modify mail message headers using an advanced MIME model.
- List all mail messages using the POP protocol.
- Do custom SSL certificate validation when connecting to a mail server using PopClient, ImapClient, or SmtpClient.
- Create calendar events, tasks, reminders and add them to an email.
- Download a mail message using the POP or IMAP protocol.
- Send, list, and download messages on the Exchange Server using the EWS protocol.
- List and modify folders on the Exchange Server using the EWS protocol.
- Validate mail addresses.
- Perform a mail merge.
- Save and Load calendars in iCalendar format.
- Create and send mail messages using the SMTP protocol.
- List and modify folders on a mail server using the IMAP protocol.
- List and modify message flags using the IMAP protocol.
- Search for messages on a mail server using the IMAP protocol.
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.
Resources
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETFramework 3.5
- BouncyCastle (>= 1.8.9)
- Pkcs11Interop (>= 5.1.1)
-
.NETStandard 2.0
- Pkcs11Interop (>= 5.1.1)
- Portable.BouncyCastle (>= 1.8.9)
- System.Buffers (>= 4.5.1)
- System.Text.Encoding.CodePages (>= 5.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
17.0.1064 | 73 | 2/3/2023 |
17.0.1056 | 1,297 | 1/3/2023 |
17.0.1045 | 1,533 | 12/14/2022 |
17.0.1024 | 2,847 | 11/9/2022 |
17.0.1013 | 1,235 | 10/12/2022 |
17.0.1009 | 1,041 | 9/6/2022 |
17.0.1000 | 2,700 | 8/12/2022 |
15.0.1153 | 3,436 | 7/21/2022 |
15.0.1143 | 1,601 | 6/10/2022 |
15.0.1134 | 1,172 | 4/21/2022 |
15.0.1124 | 18,409 | 3/9/2022 |
15.0.1116 | 100,623 | 2/1/2022 |
15.0.1106 | 1,166 | 1/5/2022 |
15.0.1100 | 1,333 | 12/6/2021 |
15.0.1096 | 4,331 | 11/8/2021 |
15.0.1086 | 8,909 | 10/1/2021 |
15.0.1080 | 1,946 | 8/26/2021 |
15.0.1076 | 3,599 | 6/17/2021 |
15.0.1073 | 1,205 | 5/14/2021 |
15.0.1064 | 9,600 | 3/9/2021 |
15.0.1056 | 902 | 2/9/2021 |
15.0.1049 | 3,782 | 1/18/2021 |
15.0.1039 | 4,702 | 11/5/2020 |
15.0.1036 | 638 | 10/19/2020 |
15.0.1029 | 2,231 | 9/14/2020 |
15.0.1026 | 13,614 | 6/26/2020 |
15.0.1021 | 910 | 5/22/2020 |
15.0.1014 | 5,673 | 3/17/2020 |
15.0.0.1006 | 11,141 | 12/3/2019 |
15.0.0.1000 | 857 | 11/7/2019 |
13.0.0.1046 | 5,987 | 12/3/2019 |
13.0.0.1042 | 1,563 | 9/23/2019 |
13.0.0.1039 | 2,345 | 6/7/2019 |
13.0.0.1036 | 2,027 | 5/8/2019 |
13.0.0.1033 | 3,171 | 4/3/2019 |
13.0.0.1030 | 1,138 | 2/4/2019 |
13.0.0.1027 | 1,145 | 1/2/2019 |
13.0.0.1022 | 31,149 | 11/8/2018 |
13.0.0.1019 | 1,198 | 9/25/2018 |
13.0.0.1012 | 1,915 | 7/16/2018 |
13.0.0.1008 | 5,566 | 5/4/2018 |
13.0.0.1003 | 1,135 | 4/4/2018 |
13.0.0.1000 | 2,436 | 3/7/2018 |
11.3.30.1042 | 799 | 5/6/2019 |
11.3.30.1041 | 3,783 | 5/4/2018 |
11.3.30.1037 | 1,872 | 4/4/2018 |
11.3.30.1034 | 1,387 | 1/22/2018 |
11.3.30.1027 | 3,537 | 11/13/2017 |
11.3.30.1016 | 2,071 | 8/16/2017 |
11.3.30.1012 | 1,427 | 6/2/2017 |
11.3.30.1010 | 1,077 | 3/21/2017 |
11.3.30.1007 | 1,224 | 12/6/2016 |
11.3.30.1002 | 1,146 | 8/25/2016 |
11.3.30.1001 | 1,189 | 3/23/2016 |
11.3.30.1000 | 1,085 | 2/16/2016 |
- Fixed issue with continuation parameters in EML reader.
- Fixed issue with empty header in MSG reader.
- Fixed issue with conversation index in MSG reader.