Documentation
¶
Overview ¶
Package mail sends outbound email over the shared SMTP relay settings (Settings.Smtp*/EmailSender, edited on the admin UI's Factum > Email tab, projected into util.CommonConfig by util.NewCommonConfig). Extracted from cmd/icinga-notifications, the first consumer, so the web package's password-reset flow can send mail without duplicating this logic.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseRecipients ¶ added in v1.3.0
ParseRecipients splits textarea content into addresses, one per line and/or comma-separated within a line. Blank pieces are dropped. Repeated addresses are kept once, compared case-insensitively.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.