Documentation
¶
Index ¶
Constants ¶
View Source
const ( ConfirmAccount = iota ResetPassword )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SMTPClient ¶
type SMTPClient struct {
// contains filtered or unexported fields
}
func (SMTPClient) Send ¶
func (c SMTPClient) Send(htmlBody, subject, from, to string) error
type SMTPServer ¶
type SMTPServer struct {
// contains filtered or unexported fields
}
func New ¶
func New(host string, port int, username, password string) SMTPServer
New creates a new SMTP client using the default configuration.
func (SMTPServer) Connect ¶
func (s SMTPServer) Connect() (SMTPClient, error)
Click to show internal directories.
Click to hide internal directories.