Discover Packages
gitlab.com/hackandsla.sh/letterbox
internal
smtpclient
package
Version:
v0.1.5
Opens a new window with list of versions in this module.
Published: Nov 19, 2020
License: AGPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
var (
ErrFailedSend = errors .New ("failed to send email")
ErrFailedInit = errors .New ("could not connect to outbound SMTP server")
ErrFailedClose = errors .New ("could not close connection to outbound SMTP server")
)
type Config struct {
Host string `json:"host,omitempty"`
Port int `json:"port,omitempty"`
Username string `json:"username,omitempty"`
Password string `json:"password,omitempty"`
}
type SMTPClient struct {
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.