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
<PackageReference Include="Scott.Mail.Smtp2Go" Version="1.3.5" />
<PackageVersion Include="Scott.Mail.Smtp2Go" Version="1.3.5" />
<PackageReference Include="Scott.Mail.Smtp2Go" />
paket add Scott.Mail.Smtp2Go --version 1.3.5
#r "nuget: Scott.Mail.Smtp2Go, 1.3.5"
#:package Scott.Mail.Smtp2Go@1.3.5
#addin nuget:?package=Scott.Mail.Smtp2Go&version=1.3.5
#tool nuget:?package=Scott.Mail.Smtp2Go&version=1.3.5
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})");
Links
- Documentation: getting started, sending, configuration, observability, errors, webhooks, reporting, archive, account management and SMS.
- API coverage: every SMTP2GO endpoint and the client member that covers it.
- Changelog, security policy, source and issues.
Licensed under LGPL-3.0-or-later.
| 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 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. |
-
.NETStandard 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 10.0.12)
- Microsoft.Bcl.TimeProvider (>= 10.0.12)
- System.Diagnostics.DiagnosticSource (>= 10.0.12)
- System.Net.Http.Json (>= 10.0.12)
- System.Text.Json (>= 10.0.12)
-
net10.0
- No dependencies.
-
net8.0
- System.Text.Json (>= 10.0.12)
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 |