Resend.FluentEmail 0.1.4

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

resend sender for FluentEmail

CI NuGet License: MIT

Send emails using FluentEmail .NET API, using Resend as the underlying sender.

Functionality

The Resend sender supports the following features:

  • Display name in From, To, Cc, Bcc, and ReplyTo addresses
  • HTML and non-HTML bodies
  • Priority enumerate
  • Headers
  • Tags
  • Attachments

Installing via NuGet

Package is published in the NuGet gallery.

From the command-line:

> dotnet add package Resend.FluentEmail

From within Visual Studio using Package Manager Console:

PM> Install-Package Resend.FluentEmail

Getting started

In the startup of your application, configure the DI container as follows:

using FluentEmail.Core.Interfaces;
using Resend;
using Resend.FluentEmail;

builder.Services.AddOptions();
builder.Services.AddHttpClient<ResendClient>();
builder.Services.Configure<ResendClientOptions>( o =>
{
    o.ApiToken = Environment.GetEnvironmentVariable( "RESEND_APITOKEN" )!;
} );
builder.Services.AddTransient<IResend, ResendClient>();
builder.Services.AddTransient<ISender, ResendSender>();

Send the email in the FluentEmail way, using the injected ISender:

using FluentEmail.Core.Interfaces;

public class FeatureImplementation
{
    private readonly ISender _sender;


    public FeatureImplementation( ISender sender )
    {
        _sender_ = sender;
    }


    public async Task Execute()
    {
        var email = Email
            .From( "onboarding@resend.dev" )
            .To( "myapp@example.com" )
            .Subject( "Hello!" )
            .Body( "<div><strong>Greetings<strong> 👋🏻 from .NET</div>", true )
            .PlaintextAlternativeBody( "Greetigs from .NET" );

        email.Sender = _sender;
        var response = await email.SendAsync();
    }
}
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.

NuGet packages (1)

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

Package Downloads
KernelInfrastructure

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.4 352 6/10/2025
0.1.3 142 6/5/2025
0.1.2 174 5/9/2025
0.1.1 163 4/22/2025
0.1.0 470 3/25/2025
0.0.13 240 2/4/2025