Documentation ¶ Index ¶ type Auth type SMTP func Open(auth *Auth) *SMTP func (client *SMTP) Headers(to, subject string) string func (client *SMTP) SendMail(to []string, message []byte) error func (*SMTP) SetHeader(key, value string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Auth ¶ added in v4.6.2 type Auth struct { Host, Port, Username, Password string } type SMTP ¶ type SMTP struct { smtp.Auth ServerURL, Username string } func Open ¶ func Open(auth *Auth) *SMTP func (*SMTP) Headers ¶ func (client *SMTP) Headers(to, subject string) string func (*SMTP) SendMail ¶ func (client *SMTP) SendMail(to []string, message []byte) error func (*SMTP) SetHeader ¶ func (*SMTP) SetHeader(key, value string) string Source Files ¶ View all Source files smtp.go Click to show internal directories. Click to hide internal directories.