Sendeez 0.1.0

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

Sendeez

Zero-dependency .NET SDK for the Sendeez transactional email API.

using Sendeez;

var sendeez = new SendeezClient(Environment.GetEnvironmentVariable("SENDEEZ_API_KEY")!);

var email = await sendeez.Emails.SendAsync(
    new SendEmailInput
    {
        From = new Address { Email = "hello@example.com", Name = "Example" },
        To = [new Address { Email = "developer@example.com" }],
        Subject = "Welcome",
        Text = "Your account is ready.",
    },
    idempotencyKey: "welcome-user-123" // Optional. The SDK generates one when omitted.
);

Console.WriteLine($"{email!.Id} {email.Status}");

Errors and agent actions

try
{
    await sendeez.Emails.SendAsync(message);
}
catch (SendeezException e)
{
    Console.WriteLine($"{e.Code} {e.Param} {e.RequestId} {e.Action} {e.RetryAfter}");
}

The SDK retries GET requests and mutations carrying an idempotency key after network errors, 429, or 5xx. It never automatically retries an unsafe mutation.

Every method accepts a CancellationToken. This lets applications and AI agents enforce their own execution deadline:

using var cts = new CancellationTokenSource(TimeSpan.FromSeconds(5));
await sendeez.Emails.ListAsync(cancellationToken: cts.Token);

Testing

Pass a fake HttpMessageHandler via the handler: constructor parameter to substitute a fake transport, the same role fetch/opener/transport injection plays in the other SDKs.

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 was computed.  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.
  • net8.0

    • No dependencies.

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
0.1.0 112 7/27/2026