Versions in this module Expand all Collapse all v1 v1.0.1 Jul 29, 2019 v1.0.0 Feb 22, 2019 Changes in this version + var ErrInvalidScheme = errors.New("invalid scheme") + var ErrNoRecipients = errors.New("no recipients specified") + func IsValidAddress(addr string) bool + type Message struct + func NewHTMLMessage(from, subject, body string) *Message + func NewMessage(from, subject, body string) *Message + func NewMessageType(from, subject, body, contentType string) *Message + func (m *Message) AddAttachment(filename string, attachment []byte) + func (m *Message) AddAttachmentFromFile(filename string) error + func (m *Message) AddBCC(emailAddr string) + func (m *Message) AddCC(emailAddr string) + func (m *Message) AddTo(emailAddr string) + func (m *Message) Body() []byte + func (m *Message) From() string + func (m *Message) Name() string + func (m *Message) Recipients() []string + func (m *Message) SetName(name string) + type SMTP struct + func NewSMTP(rawURL string, tlsConfig *tls.Config) (*SMTP, error) + func (s *SMTP) Send(msg *Message) error