caf_smtp/plug_smtp

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. See nodemailer documentation for details (https://nodemailer.com)
  • templates: an optional set of mustache templates identified by a name and in a file with name fileName in directory dir (or relative to the first module loaded if null or undefined).
Source:

Extends