Skip to content

Documentation


Documentation / @kizami/notify / SmtpSendFn

Type Alias: SmtpSendFn

SmtpSendFn = (config, msg) => Promise<void>

Defined in: smtp.ts:22

実際の送信処理。設定とメッセージを受け取り、送信の成否は成功時 resolve / 失敗時 reject で表す。

Parameters

config

SmtpChannelConfig

msg

NotificationMessage

Returns

Promise<void>