Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 975 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 975 Bytes

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>"