YouZack.ErrorMail NuGet Package

Mail Logging provider on .Net Core, which can be configured as 'send the same error only once', if SendSameErrorOnlyOnce=true, if there are more than one same messages ocurred, only one mail would be sent in the time of "IntervalSeconds" senconds.

services.AddLogging(builder => {
builder.AddErrorMail(opt => {
opt.From = "[email protected]";
opt.To = new []{"[email protected]" };
opt.IntervalSeconds = 30;
opt.SendSameErrorOnlyOnce = true;
opt.SmtpEnableSsl = true;
opt.SmtpUserName = "[email protected]";
opt.SmtpPassword = "2323423fasfadsaf";
opt.SmtpServer = "smtp.xxx.com";
opt.SmtpEnableSsl = true;
});
});.




Got any YouZack.ErrorMail Question?





Info

Version: 1.1.0
Author(s): Zack Yang
Last Update: Friday, March 26, 2021
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/yangzhongke/YouZack.ErrorMail
NuGet Url: https://www.nuget.org/packages/YouZack.ErrorMail


Install
Install-Package YouZack.ErrorMail
dotnet add package YouZack.ErrorMail
paket add YouZack.ErrorMail
YouZack.ErrorMail Download (Unzip the "nupkg" after downloading)





STATS

must-have-score

.3

avg-downloads-per-day

0

days-since-last-release

1338