CoreNotify.MailerSend 1.0.2-beta

This is a prerelease version of CoreNotify.MailerSend.
There is a newer version of this package available.
See the version list below for details.
dotnet add package CoreNotify.MailerSend --version 1.0.2-beta                
NuGet\Install-Package CoreNotify.MailerSend -Version 1.0.2-beta                
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="CoreNotify.MailerSend" Version="1.0.2-beta" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CoreNotify.MailerSend --version 1.0.2-beta                
#r "nuget: CoreNotify.MailerSend, 1.0.2-beta"                
#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.
// Install CoreNotify.MailerSend as a Cake Addin
#addin nuget:?package=CoreNotify.MailerSend&version=1.0.2-beta&prerelease

// Install CoreNotify.MailerSend as a Cake Tool
#tool nuget:?package=CoreNotify.MailerSend&version=1.0.2-beta&prerelease                

When you create a new .NET web app, an IdentityNoOpEmailSender placeholder class is stubbed out so the IEmailSender<TUser> has an implementation. By design it doesn't work -- hence the "NoOp" in the name. You need to register with an email service like Mailgun, SendGrid, or others to have actual email capability in your application. Setting that up is not trivial. Email providers typically require you to prove ownership of your domain, and have unique APIs for interacting with their service.

CoreNotify solves this by offering a minimal email service for IEmailSender<T>, giving you working account notifications for ASP.NET Core web apps with very little setup. It has a 30-day free trial, and is $5/month thereafter. There's no credit card required, and no automatic recurring payment.

  1. Install the CoreNotify CLI.
dotnet tool install --global CoreNotify.CLI
  1. Use the CLI tool to create an API key:
corenotify register <youremail>

You will receive your CoreNotify API key at the email you provide.

  1. Add the CoreNotify.MailerSend package to your project.
dotnet add package CoreNotify.MailerSend
  1. Add your API key from step 2 to your configuration. There are a number of ways to do this.
  2. Replace the IdentityNoOpEmailSender in your app with CoreNotifyEmailSender

A few things to note about how this works:

  • CoreNotify uses MailerSend under the hood.
  • Account notification emails will come from {yourdomain}.corenotify.net
  • CoreNotifyEmailSender is not a generic email client. It sends only IEmailSender<TUser> messages (account confirmations, password resets), and you cannot customize the email content.
  • For generic email capability with MailerSend, use MailerSendClient. In that case, you use your own MailerSend API key.

Payment

If you like this service, send $5 * number of months you'd like

paypal.me/adamosoftware

I will manually extend your account.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net9.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
1.0.4 69 2/9/2025
1.0.3 78 1/20/2025
1.0.2-beta 60 1/20/2025