CommonNetFuncs.Email
4.3.5
See the version list below for details.
dotnet add package CommonNetFuncs.Email --version 4.3.5
NuGet\Install-Package CommonNetFuncs.Email -Version 4.3.5
<PackageReference Include="CommonNetFuncs.Email" Version="4.3.5" />
<PackageVersion Include="CommonNetFuncs.Email" Version="4.3.5" />
<PackageReference Include="CommonNetFuncs.Email" />
paket add CommonNetFuncs.Email --version 4.3.5
#r "nuget: CommonNetFuncs.Email, 4.3.5"
#:package CommonNetFuncs.Email@4.3.5
#addin nuget:?package=CommonNetFuncs.Email&version=4.3.5
#tool nuget:?package=CommonNetFuncs.Email&version=4.3.5
CommonNetFuncs.Email
This contains helper methods for sending emails in .NET applications. It includes a simple interface for sending emails as well as an implementation that can be used directly or consumed as a service.
Contents
Helper class for sending emails
Email Usage Examples
<details> <summary><h3>Usage Examples</h3></summary>
SendEmail
Sends an email with the specified parameters. Can be consumed as a service using the IEmailService interface and EmailService implementation of that service.
MailAddress fromAddress = new()
{
Name = "Nick",
Email = "NickEmail@test.com"
};
MailAddress toAddress = new()
{
Name = "Chris",
Email = "ChrisEmail@test.com"
};
MailAttachment attachment = new()
{
AttachmentName = "Important Attachment.txt",
AttachmentStream = new FileStream(@"C:\Documents\Important Attachment.txt")
}
Email.SendEmail("smtp.server.address", 25, fromAddress, toAddress, "Subject Line", "Mail Body", attachments: [attachment], zipAttachments: true); // Sends email with zipped attachment
</details>
Installation
Install via NuGet:
dotnet add package CommonNetFuncs.Email
License
This project is licensed under the MIT License - see the LICENSE file for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- CommonNetFuncs.Compression (>= 4.3.1)
- CommonNetFuncs.Core (>= 4.3.6)
- MailKit (>= 4.17.0)
- MimeKit (>= 4.17.0)
- System.Text.Json (>= 10.0.11)
- ZLinq (>= 1.5.6)
-
net10.0
- CommonNetFuncs.Compression (>= 4.3.1)
- CommonNetFuncs.Core (>= 4.3.6)
- CommonNetFuncs.Hangfire (>= 4.3.3)
- MailKit (>= 4.17.0)
- MimeKit (>= 4.17.0)
- ZLinq (>= 1.5.6)
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 |
|---|---|---|
| 4.3.13 | 99 | 9/28/2026 |
| 4.3.12 | 112 | 9/21/2026 |
| 4.3.11 | 103 | 9/18/2026 |
| 4.3.10 | 103 | 9/15/2026 |
| 4.3.8 | 113 | 9/1/2026 |
| 4.3.7 | 103 | 8/31/2026 |
| 4.3.5 | 107 | 8/31/2026 |
| 4.3.4 | 108 | 8/27/2026 |
| 4.3.3 | 118 | 8/24/2026 |
| 4.3.2 | 120 | 8/14/2026 |
| 4.3.1 | 115 | 8/11/2026 |
| 4.3.0 | 120 | 8/3/2026 |
| 4.1.15 | 119 | 8/3/2026 |
| 4.1.13 | 119 | 7/31/2026 |
| 4.1.12 | 130 | 7/16/2026 |
| 4.1.11 | 135 | 7/9/2026 |
| 4.1.0 | 150 | 6/5/2026 |
| 4.0.53 | 141 | 5/28/2026 |
| 4.0.51 | 142 | 5/27/2026 |