Versions in this module Expand all Collapse all v1 v1.6.1 Jul 9, 2019 Changes in this version + const MaxSendRetries + func NewGomailMessage(email *mailer.Mail) (*gomail.Message, error) + type BoltQueue struct + DbPath string + DeleteOnClose bool + func NewBoltQueue(fileName string, deleteOnClose ...bool) (*BoltQueue, error) + func (b *BoltQueue) Close() error + func (b *BoltQueue) Consume(sendHandler func(email *mailer.Mail) error) error + func (b *BoltQueue) Push(email *mailer.Mail) error + type Queue interface + Close func() error + Consume func(func(email *mailer.Mail) error) error + Push func(email *mailer.Mail) error + func GetQueue(ctx context.Context, t string, conf common.ConfigValues) Queue + type SendGrid struct + ApiKey string + func (s *SendGrid) Check(ctx context.Context) error + func (s *SendGrid) Configure(ctx context.Context, config config.Map) error + func (s *SendGrid) Send(email *mailer.Mail) error + type Sender interface + Check func(ctx context.Context) error + Configure func(ctx context.Context, conf config.Map) error + Send func(email *mailer.Mail) error + func GetSender(t string, conf config.Map) (Sender, error) + type Sendmail struct + BinPath string + func (d *Sendmail) Send(email *mailer.Mail) error + func (s *Sendmail) Check(ctx context.Context) error + func (s *Sendmail) Configure(ctx context.Context, config config.Map) error + type Smtp struct + Host string + InsecureSkipVerify bool + Password string + Port int + User string + func (gm *Smtp) Check(ctx context.Context) error + func (gm *Smtp) Configure(ctx context.Context, conf config.Map) error + func (gm *Smtp) Send(email *mailer.Mail) error Incompatible versions in this module v2.0.6+incompatible Apr 23, 2020