Scandit.Email

Send emails

Methods

(static) send(subject: string, message: string, recipients: string[], options?: object): Promise

Parameters:
Name Type Attributes Default Description
subject string

Email subject

message string

Email message

recipients string[]

List of recipients

options object <optional>
{}

Options

Properties
Name Type Attributes Default Description
attachments object <optional>
{}

Attachments as {filename: fileurl, ...}

Properties
Name Type Attributes Description
name string <optional>

Where name is unique in the list of the attachments

path string <optional>

Path to the file to be attached

senderName string <optional>

Name of the sender

useDefaultTemplate boolean <optional>
true

Whether email should be sent in the platform html template or not.

Returns:
Promise

Promise