Soenneker.Resend.Client 11.0.331

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Resend.Client --version 11.0.331
                    
NuGet\Install-Package Soenneker.Resend.Client -Version 11.0.331
                    
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="Soenneker.Resend.Client" Version="11.0.331" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Resend.Client" Version="11.0.331" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Resend.Client" />
                    
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 Soenneker.Resend.Client --version 11.0.331
                    
#r "nuget: Soenneker.Resend.Client, 11.0.331"
                    
#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 Soenneker.Resend.Client@11.0.331
                    
#: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=Soenneker.Resend.Client&version=11.0.331
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Resend.Client&version=11.0.331
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Resend.Client

Provides a cached HttpClient for sending and receiving email and managing Resend domains, contacts, audiences, broadcasts, templates, topics, and API keys.

Installation

dotnet add package Soenneker.Resend.Client

Configuration

{
  "Resend": {
    "ApiKey": "re_xxxxxxxxx"
  }
}

Usage

using Soenneker.Resend.Client.Abstract;
using Soenneker.Resend.Client.Registrars;

services.AddResendHttpClientAsSingleton();

public sealed class ResendDomainReader
{
    private readonly IResendHttpClient _resend;

    public ResendDomainReader(IResendHttpClient resend)
    {
        _resend = resend;
    }

    public async Task<string> GetDomains(CancellationToken cancellationToken)
    {
        HttpClient client = await _resend.Get(cancellationToken);
        return await client.GetStringAsync("domains", cancellationToken);
    }
}

The provider sends Authorization: Bearer <api-key> and the User-Agent header required by Resend. It targets https://api.resend.com/ by default. Set Resend:ClientBaseUrl for a proxy or compatible endpoint, or Resend:UserAgent when your application needs a specific user-agent value.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Soenneker.Resend.Client:

Package Downloads
Soenneker.Resend.ClientUtil

Provides a lazily initialized, authenticated Resend API client.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.335 53 10/27/2026
11.0.334 82 10/27/2026
11.0.333 120 10/26/2026
11.0.332 73 10/26/2026
11.0.331 85 10/26/2026
4.0.330 674 10/15/2026
4.0.329 95 10/14/2026
4.0.326 115 10/14/2026
4.0.325 167 10/14/2026
4.0.319 107 10/13/2026
4.0.318 99 10/13/2026
4.0.314 153 10/12/2026
4.0.313 335 10/11/2026
4.0.312 87 10/11/2026
4.0.311 301 10/9/2026
4.0.310 335 10/1/2026
4.0.309 321 9/29/2026
4.0.308 98 9/29/2026
4.0.307 228 9/26/2026
4.0.306 206 9/25/2026
Loading failed

Migrate to .NET 11 and version 11