Documentation ¶ Index ¶ type Auth func Client(host, port, password string) *Auth func (s *Auth) SendHTML(from string, to []string, subject string, html string, ...) error func (s *Auth) SendText(from string, to []string, subject string, body string, ...) error func (s *Auth) Validate(user string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Auth ¶ type Auth struct { Host string Port string Pass string Debug bool } func Client ¶ func Client(host, port, password string) *Auth func (*Auth) SendHTML ¶ func (s *Auth) SendHTML( from string, to []string, subject string, html string, attachments map[string]*bytes.Buffer, ) error func (*Auth) SendText ¶ func (s *Auth) SendText( from string, to []string, subject string, body string, attachments map[string]*bytes.Buffer, ) error func (*Auth) Validate ¶ func (s *Auth) Validate(user string) error Source Files ¶ View all Source files smtp.go Click to show internal directories. Click to hide internal directories.