Documentation
¶
Overview ¶
Package email is the outbound email notifier: a bus Subscriber that sends each wanted domain event as a plain-text message over SMTP. Notifications only — email is never a capture channel.
Index ¶
Constants ¶
const SubscriberName = "email"
SubscriberName keys email's outbox rows and cursor.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notifier ¶
type Notifier struct {
Cfg config.EmailConfig
// Password is the resolved SMTP password (empty for no auth).
Password string
// UIBase is the deep-link root; empty disables links.
UIBase string
// Redact scrubs known secrets from outbound text.
Redact func(string) string
// contains filtered or unexported fields
}
Notifier delivers events over SMTP.