Preview email template
candidateid/verification-code • en • txt
Examples
Merge variables
Substituted at send time by your mail pipeline.
-
{{clientLogoAlt}} -
{{clientLogoHeight}} -
{{clientLogoUrl}} -
{{clientLogoWidth}} -
{{code}} -
{{verifyUrl}}
Usage
.NET
Install
dotnet add package Duo.EmailTemplates --version 0.3.4Render
using Duo.EmailTemplates;
var rendered = DuoEmailTemplates.Render( "candidateid/verification-code", "en", new Dictionary<string, string> { ["code"] = "123456", ["verifyUrl"] = "https://example.com", ["clientLogoUrl"] = "https://storybook.talentech.io/images/raster/talentech/talentech-avatar-dark-96x96.png", ["clientLogoAlt"] = "Talentech logo", ["clientLogoWidth"] = "40px", ["clientLogoHeight"] = "40px", });