Scott.Mail.Smtp2Go 1.3.5

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

Scott.Mail.Smtp2Go

A .NET client for the whole SMTP2GO v3 API: sending (JSON, MIME, batch, scheduled), webhooks, reporting and statistics, templates, suppressions, allowed senders and recipients, API keys, SMTP users, domains, subaccounts, email archiving and SMS. Targets netstandard2.0, net8.0 and net10.0, is trim- and AOT-compatible, sends the API key in a header rather than the body, and surfaces the API's own error payloads as typed exceptions.

Install

dotnet package add Scott.Mail.Smtp2Go
Package Adds
Scott.Mail.Smtp2Go The client: every documented operation, the webhook callback parser, typed errors, diagnostics hooks.
Scott.Mail.Smtp2Go.DependencyInjection AddSmtp2Go: options binding and validation, IHttpClientFactory, resilience pipeline, named clients, logging and metrics.
Scott.Mail.Smtp2Go.AspNetCore MapSmtp2GoWebhook: an endpoint that authenticates, checks and parses SMTP2GO callbacks and dispatches typed events to your handlers.

Quick start

using Scott.Mail.Smtp2Go;

var client = new Smtp2GoClient(apiKey: "api-...");

var response = await client.Email.SendAsync(new EmailSendRequest
{
    Sender = "Alice <alice@example.com>",
    To = ["bob@example.com"],
    Subject = "Hello from Scott.Mail.Smtp2Go",
    TextBody = "It works.",
});

Console.WriteLine($"Sent: {response.Data.Succeeded} succeeded, {response.Data.Failed} failed ({response.RequestId})");

Licensed under LGPL-3.0-or-later.

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 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 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 (2)

Showing the top 2 NuGet packages that depend on Scott.Mail.Smtp2Go:

Package Downloads
Scott.Mail.Smtp2Go.DependencyInjection

Microsoft.Extensions.DependencyInjection integration for Scott.Mail.Smtp2Go: AddSmtp2Go, options binding and validation, resilience pipeline, named clients.

Scott.Mail.Smtp2Go.AspNetCore

ASP.NET Core integration for Scott.Mail.Smtp2Go: MapSmtp2GoWebhook endpoint, callback authentication, source-IP allow-list and typed event dispatch.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.5 397 9/11/2026