Skip to content
A standalone console app for parsing and sending email templates using the Razor SDK
C# HTML Batchfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
RazorMailer.Tests
RazorMailer.WebJob
RazorMailer
.gitattributes
.gitignore
README.md
RazorMailer.sln

README.md

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>"
You can’t perform that action at this time.