Transmitly documentation

.NET SDK

Install the Transmitly .NET SDK, send from ASP.NET Core and control idempotency.

Last reviewed November 20, 2026 · OpenAPI 3.1 · API reference

The .NET client targets .NET 8, has no third-party dependencies and is published as Transmitly.Client.

Package: NuGet·OpenAPI 3.1

The client package is Transmitly.Client, not Transmitly. A separate .NET communications library of the same name publishes the Transmitly package; installing that package does not connect to this API.

Install

install
dotnet add package Transmitly.Client

Send your first email

send
using Transmitly;

var tx = new TransmitlyClient(Environment.GetEnvironmentVariable("TRANSMITLY_API_KEY")!);

var accepted = await tx.Emails.SendAsync(new EmailMessage
{
    From = "Notify <[email protected]>",
    To = new[] { "[email protected]" },
    Subject = "Your workspace is ready",
    Html = "<p>Welcome.</p>",
    Tags = new Dictionary<string, string> { ["flow"] = "onboarding" },
});

Register one TransmitlyClient in DI and inject it into controllers, minimal APIs or workers. SendAsync generates an idempotency key; pass idempotencyKey: to override it.

Next steps

See the API reference and the SDK overview for the ASP.NET Core registration example.

Need the full API surface? OpenAPI 3.1.