Resend 0.0.5
See the version list below for details.
dotnet add package Resend --version 0.0.5
NuGet\Install-Package Resend -Version 0.0.5
<PackageReference Include="Resend" Version="0.0.5" />
<PackageVersion Include="Resend" Version="0.0.5" />
<PackageReference Include="Resend" />
paket add Resend --version 0.0.5
#r "nuget: Resend, 0.0.5"
#:package Resend@0.0.5
#addin nuget:?package=Resend&version=0.0.5
#tool nuget:?package=Resend&version=0.0.5
resend
.NET client for resend, an email API, written in C#.
Installing via NuGet
Package is published in the NuGet gallery.
From the command-line:
> dotnet add package Resend
From within Visual Studio using Package Manager Console:
PM> Install-Package Resend
Getting started
In the startup of your application, configure the DI container as follows:
using Resend;
builder.Services.AddOptions();
builder.Services.AddHttpClient<ResendClient>();
builder.Services.Configure<ResendClientOptions>( o =>
{
o.ApiToken = Environment.GetEnvironmentVariable( "RESEND_APITOKEN" )!;
} );
builder.Services.AddTransient<IResend, ResendClient>()
Send an email using the injected IResend instance:
using Resend;
public class FeatureImplementation
{
private readonly IResend _resend;
public FeatureImplementation( IResend resend )
{
_resend = resend;
}
public Task Execute()
{
var message = new EmailMessage();
message.From = "onboarding@resend.dev";
message.To.Add( "myapp@example.com" );
message.Subject = "Hello!";
message.HtmlBody = "<div><strong>Greetings<strong> 👋🏻 from .NET</div>";
await _resend.EmailSendAsync( message );
}
}
resend command-line tool
In addition to the .NET library, this repository also releases a cross platform command line interface program to invoke the API. This program is available as a .NET tool.
0.1.0
Command-line tool for Resend API
Usage: resend [command] [options]
Options:
--version Show version information.
-?|-h|--help Show help information.
Commands:
api-key API key management
domain Email (sender) domain management
email Send emails
webhook Webhook management
Run 'resend [command] -?|-h|--help' for more information about a command.
Each command has sub-commands: you can enumerate the sub-commands with
the --help flag, eg resend email --help.
Roadmap
- Check if there is API for webhooks (client side, as well as server side)
- Write documentation in the README.md
- Return ApiResponse<T> (rather than T), for folks that prefer responses rather than exceptions
- Complete the API / object XML documentation
- Target multiple frameworks (.NET Standard, .NET 6) -- rather than .NET 7
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0 is compatible. 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 was computed. 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. |
-
net7.0
- Microsoft.Extensions.Options (>= 7.0.1)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on Resend:
| Package | Downloads |
|---|---|
|
KernelInfrastructure
Package Description |
|
|
Resend.FluentEmail
Send emails via Resend using their API |
|
|
Resend.Webhooks
ASP.NET utilities for Resend Webhook events |
|
|
ICG.NetCore.Utilities.Email.Resend
A library providing an easy to use set of functions rounding the Resend API for email delivery. |
|
|
DeadLockHub.Infrastructure
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.2.0 | 190 | 11/4/2025 |
| 0.1.7 | 566 | 10/31/2025 |
| 0.1.6 | 8,039 | 9/19/2025 |
| 0.1.5 | 10,870 | 8/12/2025 |
| 0.1.4 | 19,874 | 6/10/2025 |
| 0.1.3 | 1,475 | 6/5/2025 |
| 0.1.2 | 9,602 | 5/9/2025 |
| 0.1.1 | 4,710 | 4/22/2025 |
| 0.1.0 | 10,790 | 3/25/2025 |
| 0.0.13 | 8,775 | 2/4/2025 |
| 0.0.12 | 6,451 | 12/30/2024 |
| 0.0.11 | 173 | 12/30/2024 |
| 0.0.10 | 551 | 12/21/2024 |
| 0.0.9 | 314 | 12/21/2024 |
| 0.0.8 | 6,261 | 10/28/2024 |
| 0.0.7 | 25,370 | 3/7/2024 |
| 0.0.6 | 257 | 3/5/2024 |
| 0.0.5 | 6,032 | 7/31/2023 |