Template: {
    from: string;
    html?: string;
    subject: string;
    text: string;
} & Omit<SendMailOptions, "to" | "text" | "html" | "raw">

Email template.

In subject, text, and html fields, the following variables will be replaced:

  • $caPrefix$
  • $requestId$
  • $subjectName$
  • $keyName$
  • $pin$

disableUrlAccess and disableFileAccess are set to true by default, but they may be overridden in the template object.

Type declaration

  • from: string
  • Optional html?: string
  • subject: string
  • text: string

Generated using TypeDoc