Calls an external service to send email.
Properties:
{smtpDir: string=, smtpFile: string, templates: [{name: string,
dir: string|null, fileName: string}]=}
where:
smtpDir:
a directory for the SMTP client config.smtpFile
: a json file to configure SMTP. Seenodemailer
documentation for details (https://nodemailer.com)templates
: an optional set of mustache templates identified by aname
and in a file with namefileName
in directorydir
(or relative to the first module loaded ifnull
orundefined
).
- Source: