Versions in this module Expand all Collapse all v0 v0.22.100 Apr 16, 2024 Changes in this version + const SmtpAuthLogin + const SmtpAuthPlain + type Mailer interface + Send func(message *Message) error + type Message struct + Attachments map[string]io.Reader + Bcc []mail.Address + Cc []mail.Address + From mail.Address + HTML string + Headers map[string]string + Subject string + Text string + To []mail.Address + type Sendmail struct + func (c *Sendmail) Send(m *Message) error + type SmtpClient struct + AuthMethod string + Host string + LocalName string + Password string + Port int + Tls bool + Username string + func NewSmtpClient(host string, port int, username string, password string, tls bool) *SmtpClient + func (c *SmtpClient) Send(m *Message) error