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.
- Send notifications via email (using MailGun).
- Future plans for SMS and additional notification methods.
- Simple and easy-to-use API.
You can install the package via NuGet Package Manager:
Install-Package UniversalNotifier.NET
Or using the .NET CLI:
dotnet add package UniversalNotifier.NET
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.");
To use MailGun, you will need:
- A MailGun API key
- Your MailGun domain
Pass these values to the MailGunNotifier
when initializing the object.
- Support for SMS notifications (e.g., Twilio, Nexmo)
- Additional email services (e.g., SendGrid, SMTP)
- Push notifications
Contributions are welcome! Feel free to submit pull requests for new features or bug fixes.
For any questions or feedback, feel free to open an issue or reach out to me.