Skip to content

Documentation


Documentation / @kizami/notify / createSmtpChannel

Function: createSmtpChannel() ​

createSmtpChannel(config, sendFn): NotificationChannel

Defined in: packages/notify/src/smtp.ts:25

config を固定した状態の NotificationChannel を作る。送信自体は sendFn に委譲する。

Parameters ​

config ​

SmtpChannelConfig

sendFn ​

SmtpSendFn

Returns ​

NotificationChannel