Skip to content

A standalone console app for parsing and sending email templates using the Razor SDK

Notifications You must be signed in to change notification settings

emilol/RazorMailer

Repository files navigation

Razor Mailer

A standalone console app for parsing and sending email templates using

Running Locally

Configure User Secrets

run the following commands from the solution root folder to add the API key to user secrets

.\> cd .\RazorMailer.WebJob
.\RazorMailer.WebJob> dotnet user-secrets set "AzureWebJobsSendGridApiKeyName" "Your Api Key Name"
.\RazorMailer.WebJob> dotnet user-secrets set "AzureWebJobsSendGridApiKey" "SG._your_api_key_here"

Configure Storage account

Either run the Azure storage emulator or configure your own storage account

.\RazorMailer.WebJob> dotnet user-secrets set "ConnectionStrings:AzureWebJobsStorage" "<insert connnectionstring here>"

About

A standalone console app for parsing and sending email templates using the Razor SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published