Soenneker.Resend.Client 4.0.270

Prefix Reserved
dotnet add package Soenneker.Resend.Client --version 4.0.270
                    
NuGet\Install-Package Soenneker.Resend.Client -Version 4.0.270
                    
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="4.0.270" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Resend.Client" Version="4.0.270" />
                    
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 4.0.270
                    
#r "nuget: Soenneker.Resend.Client, 4.0.270"
                    
#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@4.0.270
                    
#: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=4.0.270
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Resend.Client&version=4.0.270
                    
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 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. 
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
4.0.270 59 9/1/2026
4.0.269 68 9/1/2026
4.0.268 84 8/31/2026
4.0.267 76 8/31/2026
4.0.266 99 8/31/2026
4.0.265 85 8/31/2026
4.0.264 117 8/31/2026
4.0.263 74 8/30/2026
4.0.262 165 8/30/2026
4.0.261 316 8/26/2026
4.0.260 162 8/26/2026
4.0.259 108 8/26/2026
4.0.258 102 8/25/2026
4.0.257 318 8/22/2026
4.0.256 111 8/22/2026
4.0.255 133 8/21/2026
4.0.254 573 8/18/2026
4.0.253 483 8/13/2026
4.0.252 111 8/13/2026
4.0.251 94 8/12/2026
Loading failed

Updated NuGet packages