UniversalNotifier.NET.Mailgun
1.0.1
dotnet add package UniversalNotifier.NET.Mailgun --version 1.0.1
NuGet\Install-Package UniversalNotifier.NET.Mailgun -Version 1.0.1
<PackageReference Include="UniversalNotifier.NET.Mailgun" Version="1.0.1" />
paket add UniversalNotifier.NET.Mailgun --version 1.0.1
#r "nuget: UniversalNotifier.NET.Mailgun, 1.0.1"
// Install UniversalNotifier.NET.Mailgun as a Cake Addin #addin nuget:?package=UniversalNotifier.NET.Mailgun&version=1.0.1 // Install UniversalNotifier.NET.Mailgun as a Cake Tool #tool nuget:?package=UniversalNotifier.NET.Mailgun&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 | Versions 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. |
-
net8.0
- UniversalNotifier.NET (>= 1.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.