Linger.Email
                             
                            
                                0.7.0
                            
                        
                    See the version list below for details.
dotnet add package Linger.Email --version 0.7.0
NuGet\Install-Package Linger.Email -Version 0.7.0
<PackageReference Include="Linger.Email" Version="0.7.0" />
<PackageVersion Include="Linger.Email" Version="0.7.0" />
<PackageReference Include="Linger.Email" />
paket add Linger.Email --version 0.7.0
#r "nuget: Linger.Email, 0.7.0"
#:package Linger.Email@0.7.0
#addin nuget:?package=Linger.Email&version=0.7.0
#tool nuget:?package=Linger.Email&version=0.7.0
Linger.Email
A C# email helper library that provides simplified email operations and SMTP support for .NET Framework 4.6.2+ and .NET Standard 2.0+.
Introduction
Linger.Email simplifies email operations in .NET applications by providing an easy-to-use interface for sending emails, managing attachments, and handling SMTP configurations.
Features
Email Operations
- Simple email sending with fluent API
 - HTML and plain text support
 - File attachment handling
 - Email template support
 - Async operations
 
SMTP Configuration
- Multiple SMTP server support
 - SSL/TLS encryption
 - Custom port configuration
 - Authentication options
 
Usage Examples
Basic Email Sending
// Simple text email 
var email = new EmailMessage 
{ 
    From = "sender@example.com", 
    To = new[] { "recipient@example.com" }, 
    Subject = "Hello", 
    Body = "This is a test email" 
};
await emailService.SendAsync(email);
// Multiple recipients 
var groupEmail = new EmailMessage 
{ 
    From = "sender@example.com", 
    To = new[] { "recipient1@example.com", "recipient2@example.com" }, 
    Cc = new[] { "manager@example.com" }, 
    Bcc = new[] { "archive@example.com" }, 
    Subject = "Team Meeting", 
    Body = "Let's meet tomorrow at 2 PM" 
};
await emailService.SendAsync(groupEmail);
HTML Email with Attachments
// HTML email with single attachment 
var reportEmail = new EmailMessage 
{ 
    From = "reports@company.com", 
    To = new[] { "manager@company.com" },
    Subject = "Monthly Report", 
    IsHtml = true,
    Body = @" Monthly Sales Report Please find the attached report for this month.  Total Sales: $50,000 Growth: 15% " 
};
reportEmail.Attachments.Add(new EmailAttachment("monthly-report.pdf"));
await emailService.SendAsync(reportEmail);
// Multiple attachments with custom names 
var documentsEmail = new EmailMessage
{ 
    From = "documents@company.com", 
    To = new[] { "client@example.com" }, 
    Subject = "Project Documentation", 
    IsHtml = true, 
    Body = "Please find attached the project documents.", 
    Attachments = new List { new EmailAttachment("specs.pdf", "Project-Specifications.pdf"), new EmailAttachment("timeline.xlsx", "Project-Timeline.xlsx") }
};
await emailService.SendAsync(documentsEmail);
Install
From Visual Studio
- Open the 
Solution Explorer. - Right-click on a project within your solution.
 - Click on 
Manage NuGet Packages.... - Click on the 
Browsetab and search for "Linger.Email". - Click on the 
Linger.Emailpackage, select the appropriate version and click Install. 
Package Manager Console
PM> Install-Package Linger.Email
.NET CLI Console
> dotnet add package Linger.Email
                                | 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 is compatible. 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 is compatible. 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 was computed. 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 | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. | 
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. | 
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. | 
| MonoAndroid | monoandroid was computed. | 
| MonoMac | monomac was computed. | 
| MonoTouch | monotouch was computed. | 
| Tizen | tizen40 was computed. 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.0
- Linger.Utils (>= 0.7.0)
 - MailKit (>= 4.12.1)
 - MimeKit (>= 4.12.0)
 
 - 
                                                    
net8.0
- Linger.Utils (>= 0.7.0)
 - MailKit (>= 4.12.1)
 - MimeKit (>= 4.12.0)
 
 - 
                                                    
net9.0
- Linger.Utils (>= 0.7.0)
 - MailKit (>= 4.12.1)
 - MimeKit (>= 4.12.0)
 
 
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Linger.Email:
| Package | Downloads | 
|---|---|
| 
                                                        
                                                            Linger.Email.AspNetCore
                                                        
                                                         ASP.NET Core integration for the Linger.Email library. Provides dependency injection extensions and configuration integration for email services. Simplifies email sending in modern ASP.NET Core applications.  | 
                                                    
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | 
|---|---|---|
| 0.9.9 | 163 | 10/16/2025 | 
| 0.9.8 | 166 | 10/14/2025 | 
| 0.9.7-preview | 159 | 10/13/2025 | 
| 0.9.6-preview | 139 | 10/12/2025 | 
| 0.9.5 | 144 | 9/28/2025 | 
| 0.9.4-preview | 163 | 9/25/2025 | 
| 0.9.3-preview | 182 | 9/22/2025 | 
| 0.9.1-preview | 290 | 9/16/2025 | 
| 0.9.0-preview | 116 | 9/12/2025 | 
| 0.8.5-preview | 186 | 8/31/2025 | 
| 0.8.4-preview | 304 | 8/25/2025 | 
| 0.8.3-preview | 165 | 8/20/2025 | 
| 0.8.2-preview | 206 | 8/4/2025 | 
| 0.8.1-preview | 134 | 7/30/2025 | 
| 0.8.0-preview | 572 | 7/22/2025 | 
| 0.7.2 | 189 | 6/3/2025 | 
| 0.7.1 | 189 | 5/21/2025 | 
| 0.7.0 | 188 | 5/19/2025 | 
| 0.6.0-alpha | 199 | 4/28/2025 | 
| 0.5.0-alpha | 204 | 4/10/2025 | 
| 0.4.0-alpha | 197 | 4/1/2025 | 
| 0.3.3-alpha | 197 | 3/19/2025 | 
| 0.3.2-alpha | 197 | 3/17/2025 | 
| 0.3.1-alpha | 179 | 3/16/2025 | 
| 0.3.0-alpha | 251 | 3/6/2025 | 
| 0.2.0-alpha | 132 | 2/9/2025 | 
| 0.1.2-alpha | 142 | 12/17/2024 | 
| 0.1.1-alpha | 128 | 12/17/2024 | 
| 0.1.0-alpha | 132 | 12/6/2024 | 
| 0.0.4-alpha | 134 | 12/6/2024 | 
| 0.0.3-alpha | 139 | 11/27/2024 | 
| 0.0.2-alpha | 129 | 10/3/2024 |