interface EmailBase {
    attachment?: AttachmentOptions;
    from?: string;
    subject: string;
    to: string | string[];
}

Properties

attachment?: AttachmentOptions

File attachment for the email (optional)

See

AttachmentOptions

from?: string

Sender name (optional) If not provided, the default sender name configured in TagoRUN will be used

Example

"My Application"
subject: string

Subject of the e-mail

only allow with message or html

to: string | string[]

Recipient email address(es)

Example

"client@example.com"
["client1@example.com", "client2@example.com"]