Acontplus.Notifications
1.3.23
dotnet add package Acontplus.Notifications --version 1.3.23
NuGet\Install-Package Acontplus.Notifications -Version 1.3.23
<PackageReference Include="Acontplus.Notifications" Version="1.3.23" />
<PackageVersion Include="Acontplus.Notifications" Version="1.3.23" />
<PackageReference Include="Acontplus.Notifications" />
paket add Acontplus.Notifications --version 1.3.23
#r "nuget: Acontplus.Notifications, 1.3.23"
#:package Acontplus.Notifications@1.3.23
#addin nuget:?package=Acontplus.Notifications&version=1.3.23
#tool nuget:?package=Acontplus.Notifications&version=1.3.23
Acontplus.Notifications
A .NET 9+ library for notifications: email, MailKit, Amazon SES, WhatsApp, and push. Includes templates, queueing, and advanced delivery options.
🚀 Features
- Email notifications via MailKit and Amazon SES
- WhatsApp and push notification support
- Email queueing and retry logic
- Templated email support (Scriban)
- Dependency Injection ready
- Advanced delivery and error handling
📦 Installation
NuGet Package Manager
Install-Package Acontplus.Notifications
.NET CLI
dotnet add package Acontplus.Notifications
PackageReference
<ItemGroup>
<PackageReference Include="Acontplus.Notifications" Version="1.0.16" />
</ItemGroup>
🎯 Quick Start
1. Configure Services
// Register services in DI container
services.AddSingleton<IMailKitService, MailKitService>();
services.AddSingleton<IAmazonSesService, AmazonSesService>(); // Note: AmazonSesService implements IMailKitService
2. Send an Email
public class EmailSender
{
private readonly IMailKitService _mailKitService;
public EmailSender(IMailKitService mailKitService) => _mailKitService = mailKitService;
public async Task SendAsync(EmailModel email)
{
await _mailKitService.SendAsync(email, CancellationToken.None);
}
}
3. Send via Amazon SES
public class SesSender
{
private readonly IAmazonSesService _sesService;
public SesSender(IAmazonSesService sesService) => _sesService = sesService;
public async Task SendAsync(EmailModel email)
{
await _sesService.SendAsync(email, CancellationToken.None);
}
}
📚 API Documentation
IMailKitService- Email sending interface (implemented by both MailKit and Amazon SES services)AmazonSesService- Amazon SES email serviceMailKitService- MailKit email serviceEmailModel- Email message modelNotification- Notification entity
🤝 Contributing
We welcome contributions! Please see our Contributing Guidelines for details.
Development Setup
git clone https://github.com/acontplus/acontplus-dotnet-libs.git
cd acontplus-dotnet-libs
dotnet restore
dotnet build
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🆘 Support
- 📧 Email: proyectos@acontplus.com
- 🐛 Issues: GitHub Issues
- 📖 Documentation: Wiki
👨💻 Author
Ivan Paz - @iferpaz7
🏢 Company
Acontplus - Software solutions
Built with ❤️ for the .NET community
| Product | Versions 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. 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. |
-
net9.0
- Acontplus.Core (>= 1.6.0)
- Acontplus.Utilities (>= 1.4.1)
- AWSSDK.Core (>= 4.0.3)
- AWSSDK.SimpleEmailV2 (>= 4.0.6.3)
- BCrypt.Net-Next (>= 4.0.3)
- MailKit (>= 4.14.1)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.10)
- Polly (>= 8.6.4)
- Scriban (>= 6.5.0)
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.3.23 | 239 | 11/11/2025 |
| 1.3.22 | 245 | 11/11/2025 |
| 1.3.21 | 180 | 11/5/2025 |
| 1.3.20 | 174 | 11/5/2025 |
| 1.3.19 | 167 | 11/5/2025 |
| 1.3.18 | 176 | 11/5/2025 |
| 1.3.17 | 178 | 11/2/2025 |
| 1.3.16 | 173 | 10/23/2025 |
| 1.3.15 | 156 | 9/26/2025 |
| 1.3.14 | 171 | 9/25/2025 |
| 1.3.13 | 172 | 9/25/2025 |
| 1.3.12 | 165 | 9/24/2025 |
| 1.3.11 | 217 | 9/14/2025 |
| 1.3.10 | 225 | 9/14/2025 |
| 1.3.9 | 221 | 9/14/2025 |
| 1.3.8 | 174 | 9/10/2025 |
| 1.3.7 | 173 | 9/9/2025 |
| 1.3.6 | 192 | 9/3/2025 |
| 1.3.5 | 201 | 8/24/2025 |
| 1.3.4 | 165 | 8/21/2025 |
| 1.3.3 | 160 | 8/19/2025 |
| 1.3.2 | 174 | 8/13/2025 |
| 1.3.1 | 163 | 8/8/2025 |
| 1.3.0 | 247 | 8/7/2025 |
| 1.2.6 | 250 | 8/5/2025 |
| 1.2.5 | 133 | 7/31/2025 |
| 1.2.4 | 546 | 7/23/2025 |
| 1.2.3 | 122 | 7/18/2025 |
| 1.2.2 | 166 | 7/15/2025 |
| 1.2.1 | 165 | 7/15/2025 |
| 1.2.0 | 167 | 7/14/2025 |
| 1.1.0 | 166 | 7/14/2025 |
| 1.0.20 | 112 | 7/11/2025 |
| 1.0.19 | 113 | 7/11/2025 |
| 1.0.18 | 174 | 7/10/2025 |
| 1.0.17 | 166 | 7/10/2025 |
| 1.0.16 | 158 | 7/10/2025 |
| 1.0.15 | 172 | 7/9/2025 |
| 1.0.14 | 167 | 7/9/2025 |
| 1.0.13 | 179 | 7/7/2025 |
| 1.0.12 | 167 | 7/6/2025 |
| 1.0.11 | 160 | 7/6/2025 |
| 1.0.10 | 114 | 7/4/2025 |
| 1.0.9 | 170 | 7/3/2025 |
| 1.0.6 | 168 | 7/2/2025 |
| 1.0.5 | 170 | 7/2/2025 |
| 1.0.4 | 175 | 7/1/2025 |
Enhanced with contemporary notification patterns, MailKit integration, Amazon SES support, WhatsApp messaging, push notifications, Scriban templating, queue management, and enterprise-ready delivery systems for cloud-native applications.