This project help you to send mail every 2 minutes with hangfire.
- Microsoft Visual Studio 2019
- C#
- ASP.NET Core MVC 5.0
- Hangfire
- MS SQL SERVER 2019
- Dependency injection
- Step 1: Open MSSQL Server and Run Code
CREATE DATABASE [HangfireTestDB]
GO
- Step 2: Unzip the downloaded folder
- Step 3: Open HangfireEmailSendExample.sln file with Visual Studio 2019
- Step 4: Update database connection and Mail Setting: appsettings.json
- Step 5: Run the project by pressing Play / Start button
You can change cron expression