Regira.Office.Mail.MailKit 6.6.2

dotnet add package Regira.Office.Mail.MailKit --version 6.6.2
                    
NuGet\Install-Package Regira.Office.Mail.MailKit -Version 6.6.2
                    
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="Regira.Office.Mail.MailKit" Version="6.6.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Regira.Office.Mail.MailKit" Version="6.6.2" />
                    
Directory.Packages.props
<PackageReference Include="Regira.Office.Mail.MailKit" />
                    
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 Regira.Office.Mail.MailKit --version 6.6.2
                    
#r "nuget: Regira.Office.Mail.MailKit, 6.6.2"
                    
#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 Regira.Office.Mail.MailKit@6.6.2
                    
#: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=Regira.Office.Mail.MailKit&version=6.6.2
                    
Install as a Cake Addin
#tool nuget:?package=Regira.Office.Mail.MailKit&version=6.6.2
                    
Install as a Cake Tool

Regira.Office.Mail.MailKit

SMTP backend for Regira Office mail, built on MailKit. MailKitMailer implements IMailService and sends to any SMTP server: a company relay, Microsoft 365, Gmail with an app password, Amazon SES, or a local test server such as Mailpit. services.AddMailKit(...) configures MailKitConfig and registers the mailer as a transient IMailService.

Installation

<PackageReference Include="Regira.Office.Mail.MailKit" Version="6.*" />

Requires an SMTP server: MailKitConfig takes its host and port, the TLS mode (STARTTLS by default) and, when the server requires SMTP AUTH, a user name and password.

Documentation

  • Mail — IMailService, the message models, MailKitConfig and its TLS modes, DI registration, and the exceptions a refused send throws
  • Mail examples — sending with recipients and attachments, and choosing the backend from configuration

License

Apache License 2.0 — this package contains no license validation and no runtime limits. See LICENSE. A few companion packages are commercially licensed with a free tier; see the licensing overview.

Product Compatible and additional computed target framework versions.
.NET 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 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. 
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
6.6.2 75 11/11/2026
6.6.1 122 10/28/2026
6.6.0 107 10/20/2026