AbstractMailTransport

mailer. AbstractMailTransport

An abstract class which encompasses functions related to a single mail transport type

Constructor

new AbstractMailTransport()

Source:

Methods

getConfig(key) → {String}

Description:
  • Shortcut to retrieve mailer config values
Source:
Parameters:
Name Type Description
key string
Returns:
the config value
Type
String

(async) send(data)

Description:
  • Sends an email
Source:
Parameters:
Name Type Description
data MailData

(async) test()

Description:
  • Performs any useful tests to check transport is working correctly
Source: