Versions in this module Expand all Collapse all v1 v1.0.1 Oct 11, 2022 Changes in this version + func Auth365(username, password string) smtp.Auth + type Mock365Sender struct + MailHost string + MockSuccess bool + Password string + Port string + User string + func (m *Mock365Sender) GetNew() Sender + func (m *Mock365Sender) SendMail(mailer *Mailer) bool + type Office365Sender struct + MailHost string + Password string + Port string + User string + func (m *Office365Sender) GetNew() Sender + func (m *Office365Sender) SendMail(mailer *Mailer) bool v1.0.0 Mar 20, 2020 Changes in this version + type Mailer struct + Body string + Recipients []string + SenderAddress string + Subject string + type MockPlainSender struct + MailHost string + MockSuccess bool + Password string + Port string + User string + func (m *MockPlainSender) GetNew() Sender + func (m *MockPlainSender) SendMail(mailer *Mailer) bool + type MockSecureSender struct + MailHost string + MockSuccess bool + Password string + Port string + User string + func (m *MockSecureSender) GetNew() Sender + func (m *MockSecureSender) SendMail(mailer *Mailer) bool + type PlainSender struct + MailHost string + Password string + Port string + User string + func (m *PlainSender) GetNew() Sender + func (m *PlainSender) SendMail(mailer *Mailer) bool + type SecureSender struct + MailHost string + Password string + Port string + User string + func (m *SecureSender) GetNew() Sender + func (m *SecureSender) SendMail(mailer *Mailer) bool + type Sender interface + SendMail func(mailer *Mailer) bool