sendmail

module:sendmail

Description:
  • Send email via various transports

Source:

Methods

(static) send(options, callbackopt)

Description:
  • Send email via nodemailer with SMTP transport, other supported transports:

Source:
Parameters:
Name Type Attributes Description
options object
Properties
Name Type Attributes Description
transport string <optional>

supported transports:

  • fake: - same as json
  • json: - return message as JSON
  • file: - save to a file in the /tmp/
  • ses: - send via AWS SES service v1, ses2: use V2
subject string <optional>

subject line

from string <optional>

FROM address

to string <optional>

TO address

cc string <optional>

CC address

bcc string <optional>

BCC address

text string <optional>

text body

html string <optional>

HTML body

callback function <optional>