Skip to main content
zerotal

Documentation


Documentation / @zerotal/notifications / MailAddress

Interface: MailAddress

Defined in: notifications/src/drivers/MailDriver.ts:10

Mail delivery layer for the notification system's mail channel.

A MailDriver is the transport (log / SMTP / Resend). It receives a fully-resolved MailPayload — the wire shape of one email — and delivers it. The fluent MailMessage a notification returns from toMail() is rendered into this payload by MailChannel, so drivers never deal with templates or notifiables.

Properties

address

address: string

Defined in: notifications/src/drivers/MailDriver.ts:11


name?

optional name?: string

Defined in: notifications/src/drivers/MailDriver.ts:12