Skip to content

basalt / notifications/src / MailChannel

Class: MailChannel ​

Defined in: notifications/src/channels.ts:129

Bridges the mail channel to @basaltkit/mailer (queue/tenant-sender included).

Implements ​

Constructors ​

Constructor ​

> new MailChannel(mailer): MailChannel

Defined in: notifications/src/channels.ts:132

Parameters ​

mailer ​

Mailer

Returns ​

MailChannel

Properties ​

name ​

> readonly name: "mail" = 'mail'

Defined in: notifications/src/channels.ts:130

Implementation of ​

NotificationChannel.name

Methods ​

send() ​

> send(recipient, message, info): Promise<void>

Defined in: notifications/src/channels.ts:134

Parameters ​

recipient ​

Notifiable

message ​

unknown

info ​
notification ​

string

Returns ​

Promise<void>

Implementation of ​

NotificationChannel.send

Released under the MIT License.