ftos.messaging.sendEmail

IMPORTANT!  
Starting with v24.3.0, this is renamed from server.messaging.sendEmail to ftos.messaging.sendEmail.

Sends an email using a recipient email address, a sender email address, and a declared message. It sends an email message from a sender to one or more recipients, with additional settings such as the channel provider passed through an ISendEmailOption object. It returns no value.

This is suitable for business logic modules of business service components.

Syntax

Copy
method ftos.messaging.sendEmail(to: any, _from: string, message: string, options: ISendEmailOption): void
 
Parameter Type Description

from

string  Email address of the sender.
to string Email address of the recipient(s).
message string Message to be sent to recipient.
options string A JSON object containing the Subject, CC, BCC, Provider parameter information.

Examples