Navigation

sesService.send()

Definition

Important

To perform an SES service action, you must have rules set up for the action.

sesService.send(args)

Sends an email message to a specified address.

The sesService.send() function has the following parameter:

Parameter Type Description
args document

A document of the following form:

{
    "fromAddress": <string>,
    "toAddress": <string>,
    "subject": <string>,
    "body": <string>
}

The fields of args are as follows:

Argument Type Description
fromAddress string The sender’s email address.
toAddress string The recipient’s email address.
subject string The subject of the email.
body string The body of the message.
Returns:

A document of the following form:

{
    "messageId": <string>
}