Skip to content

SudoSOS Back-end API / internal/mailer / MailContentFunctions

Interface: MailContentFunctions<T> ​

Type Parameters ​

Type Parameter
T

Properties ​

getHTML ​

ts
getHTML: MailContentFunction<T>;

getReasonForEmail? ​

ts
optional getReasonForEmail: MailContentFunction<T>;

Short, bottom text explaining in the templated email why the received got this email.


getSubject ​

ts
getSubject: MailContentFunction<T>;

getText ​

ts
getText: MailContentFunction<T>;

getTitle ​

ts
getTitle: MailContentFunction<T>;

Short title used as the header in a templated email