Skip to content

AngeloDotNet/BackgroundEmailSender

Repository files navigation

Background email sender sample

An ASP.NET Core application that uses a hosted service, such as sending email in the background, and is an updated clone of the application of the same name developed by BrightSoul available at this link: https://github.com/BrightSoul/background-email-sender.

Update

This application updated to the latest version of .NET available (.NET SDK 10.x).

Dependencies

This project uses the MailKit package to deliver emails. The Hosted Service implements the IEmailSender interface from the Microsoft.AspNetCore.Identity.UI but you can make it implement some other similar interface if you don't want to depend upon ASP.NET Core Identity.

Thanks

I thank Moreno G. for providing me with the appropriate information so that I could finish the implementation and make it usable for the production environment.

Getting started

Edit the appsettings.json file with your SMTP server data. Then, just run the application by typing dotnet run. The .NET Core SDK 3.1 (or greater) must be installed in your system. Fill in the form and hit the Send button.

home.png

Badges

GitHub GitHub Repo stars

.NET

About

An ASP.NET Core application that uses a hosted service such as background email sending.

Topics

Resources

License

Stars

Watchers

Forks

Contributors