Versions in this module Expand all Collapse all v1 v1.0.0 Jun 9, 2022 Changes in this version + func InitSMTPNotifier(configBody []byte) (notifiers.Notifier, error) + type Notifier struct + func (s *Notifier) Close() error + func (s *Notifier) Configure(smtpConfig NotifierConfig) error + func (s *Notifier) GetName() notifiers.NotifierName + func (s *Notifier) Notify(nBody *monitors.NotificationBody, params ...interface{}) error + type NotifierConfig struct + Enabled bool + Host string + Port int + Sender string + TLS bool + func (s *NotifierConfig) Validate() error + type SendConfig struct + Bcc []string + Cc []string + To []string + func (mail *SendConfig) BuildMessage(sender string, subject string, body string) string