Versions in this module Expand all Collapse all v0 v0.4.1 Feb 16, 2020 v0.4.0 Oct 10, 2018 Changes in this version + type Config struct + CreatedAt string + FromEmail string + Password string + SSLPort int32 + ServerAddress string + TLSPort int32 + UpdatedAt string + Username string + type ConfigStore interface + GetSMTPConfig func(interface{}) error + IsNotFoundError func(error) bool + UpsertSMTPConfig func(interface{}) error + type Mailer struct + func New(cs ConfigStore) (*Mailer, error) + func (m *Mailer) Configured() error + func (m *Mailer) SendEmail(email model.SendMail) error + func (m *Mailer) SetConfig(conf Config, notifEmail model.SendMail) error