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
Returns
MailChannel
Properties
name
> readonly name: "mail" = 'mail'
Defined in: notifications/src/channels.ts:130
Implementation of
Methods
send()
> send(recipient, message, info): Promise<void>
Defined in: notifications/src/channels.ts:134
Parameters
recipient
message
unknown
info
notification
string
Returns
Promise<void>