Module: mail

Methods

(async, inner) sendEmail(from, to, subject, text, htmlopt)

Send email asynchronously. Supports both HTML and plain text email bodies. Success or failure is logged.
Parameters:
Name Type Attributes Default Description
from String
to String
subject String
text String
html String <optional>
text text will be used as html body if omitted
Source: