sendMail
sendMail(mailServerAddress: string
, from: string
, to: string
| string[]
, title: string
, body: string
, callback: Function
, options: ): void
Send email via the specified email server
Parameters
mailServerAddress:
string
SMTP server to send email
from:
string
From address of email
to:
string
To address or list of addresses
title:
string
Message title
body:
string
Message body
callback:
Function
Function to be called on completion. The function receives a response object of type SendMailResult as a first argument
options:
OptionalAdvanced settings
Returns
type:
void