Extends
- AbstractModule
 
Members
connectionUrl :String
- Description:
 - Reference to the connectionUrl config value
 
- Source:
 
    Reference to the connectionUrl config value
    Type:
- String
 
isEnabled :Boolean
- Description:
 - Reference to the isEnabled config value
 
- Source:
 
    Reference to the isEnabled config value
    Type:
- Boolean
 
transports :Object
- Description:
 - Registered mail transports
 
- Source:
 
    Registered mail transports
    Type:
- Object
 
Methods
(async) init()
(async) send(data) → {Promise}
- Description:
 - Sends an email
 
- Source:
 
Parameters:
| Name | Type | Description | 
|---|---|---|
data | 
            
            MailData | The message data | 
Returns:
- Type
 - Promise
 
(async) testEmailHandler(req, res, next)
- Description:
 - Sends a test email. Can only be called from localhost
 
- Source:
 
Parameters:
| Name | Type | Description | 
|---|---|---|
req | 
            
            external:ExpressRequest | The client request object | 
res | 
            
            external:ExpressResponse | The server response object | 
next | 
            
            function | The callback function |