UniversalNotifier.NET 1.0.1

dotnet add package UniversalNotifier.NET --version 1.0.1                
NuGet\Install-Package UniversalNotifier.NET -Version 1.0.1                
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="UniversalNotifier.NET" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add UniversalNotifier.NET --version 1.0.1                
#r "nuget: UniversalNotifier.NET, 1.0.1"                
#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 UniversalNotifier.NET as a Cake Addin
#addin nuget:?package=UniversalNotifier.NET&version=1.0.1

// Install UniversalNotifier.NET as a Cake Tool
#tool nuget:?package=UniversalNotifier.NET&version=1.0.1                

UniversalNotifier.NET

UniversalNotifier.NET is a simple and flexible notification system for .NET applications. It allows you to send notifications via multiple channels (starting with email via MailGun, with plans for SMS and other services) quickly and easily. This package is designed to streamline notification handling and provide a unified interface.

Features

  • Send notifications via email (using MailGun).
  • Future plans for SMS and additional notification methods.
  • Simple and easy-to-use API.

Installation

You can install the package via NuGet Package Manager:

Install-Package UniversalNotifier.NET

Or using the .NET CLI:

dotnet add package UniversalNotifier.NET

Getting Started

Sending an Email via MailGun

Below is a simple example of how to send an email notification using UniversalNotifier.NET with MailGun:

using UniversalNotifier;

var notifier = new MailGunNotifier("your-api-key", "your-domain");
notifier.SendEmail("recipient@example.com", "Subject of the Email", "This is the email body.");

Configuration

To use MailGun, you will need:

  • A MailGun API key
  • Your MailGun domain

Pass these values to the MailGunNotifier when initializing the object.

Future Plans

  • Support for SMS notifications (e.g., Twilio, Nexmo)
  • Additional email services (e.g., SendGrid, SMTP)
  • Push notifications

Contributing

Contributions are welcome! Feel free to submit pull requests for new features or bug fixes.

Contact

For any questions or feedback, feel free to open an issue or reach out to me.

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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on UniversalNotifier.NET:

Package Downloads
UniversalNotifier.NET.Mailgun

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 127 10/3/2024