Documentation ¶ Index ¶ type SMTP func Open(host, port, username, password, serverURL string) *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 SMTP ¶ type SMTP struct { smtp.Auth SMTPServerURL, Username, Password, ServerURL string } func Open ¶ func Open(host, port, username, password, serverURL string) *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.