SunamoMail 26.9.28.7

dotnet add package SunamoMail --version 26.9.28.7
                    
NuGet\Install-Package SunamoMail -Version 26.9.28.7
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SunamoMail" Version="26.9.28.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SunamoMail" Version="26.9.28.7" />
                    
Directory.Packages.props
<PackageReference Include="SunamoMail" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SunamoMail --version 26.9.28.7
                    
#r "nuget: SunamoMail, 26.9.28.7"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SunamoMail@26.9.28.7
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SunamoMail&version=26.9.28.7
                    
Install as a Cake Addin
#tool nuget:?package=SunamoMail&version=26.9.28.7
                    
Install as a Cake Tool

SunamoMail

A .NET library for sending emails via multiple SMTP providers including Gmail, Seznam.cz, and Centrum.cz.

Features

  • Google Apps Mailbox - Send emails via Gmail SMTP with support for TO, CC, BCC, reply-to, HTML body, and attachments
  • Seznam.cz Mailbox - Send emails via Seznam.cz SMTP with retry logic
  • MailKit Integration - Async email sending via Seznam.cz using the MailKit library with attachment support
  • Static MailBox Wrapper - Simplified static API for common email sending scenarios

Installation

dotnet add package SunamoMail

Quick Start

// Using GoogleAppsMailbox
var mailbox = new GoogleAppsMailbox("Sender Name", "sender@gmail.com", "admin@example.com", "password");
string result = mailbox.SendEmail("recipient@example.com", "", "", "", "Subject", "<p>Hello</p>", true);

// Using static MailBox wrapper
MailBox.Mailbox = mailbox;
string result = MailBox.SendEmail("recipient@example.com", "", "", "Subject", "<p>Hello</p>");

// Using MailSenderService with MailKit (async)
var service = new MailSenderService(logger);
var from = new From("Sender", "sender@seznam.cz", "password");
bool success = await service.SendSeznamMailkitWorker(3, from, "recipient@example.com", "Subject", "Body text", Array.Empty<string>());

Target Frameworks

Supported: net10.0, net9.0, net8.0

For feature requests or bug reports: Email or open an issue on GitHub.

Product 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 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
26.9.28.7 123 9/28/2026
26.5.18.6 154 5/18/2026
26.5.14.5 123 5/14/2026
26.5.14.4 131 5/14/2026
26.3.28.3 155 3/28/2026
26.2.7.2 151 2/7/2026
26.2.5.1 146 2/5/2026
26.2.4.1 131 2/4/2026
26.1.1.1 152 1/1/2026
25.12.31.2 146 12/31/2025
25.12.31.1 137 12/31/2025
25.12.21.1 203 12/21/2025
25.6.9.1 329 6/9/2025
25.5.20.2 246 5/20/2025
25.5.20.1 217 5/20/2025
25.3.29.1 178 3/29/2025
24.12.17.3 175 12/17/2024
24.12.17.2 200 12/17/2024
24.12.17.1 186 12/17/2024
24.12.14.1 202 12/14/2024
Loading failed

SmtpAccountData/Collection