Versions in this module Expand all Collapse all v1 v1.1.1 Dec 7, 2023 Changes in this version type Message + From mail.Address + func (m *Message) SetBccFromStrings(ss []string) + func (m *Message) SetCcFromStrings(ss []string) + func (m *Message) SetFromFromString(s string) + func (m *Message) SetToFromStrings(ss []string) type Sender + Host string v1.0.0 Feb 3, 2022 Changes in this version + type Message struct + Attachments map[string][]byte + BCC []mail.Address + Body string + CC []mail.Address + Subject string + To []mail.Address + func NewMessage(s, b string) *Message + func (m *Message) AttachFile(src string) error + func (m *Message) ToBytes() []byte + type Sender struct + Password string + ServerName string + TLS bool + UserName string + func NewSender(u string, p string, s string, t bool) *Sender + func (s *Sender) AnonymousSend(m *Message) error + func (s *Sender) AuthenticatedSend(m *Message) error + func (s *Sender) IsAuthenticated() bool + func (s *Sender) Send(m *Message) error