Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SMTPConfig ¶
type SMTPConfig struct {
Host string
Port int
Username string
Password string
Hello string
FromName string
From string
TLSMode TLSMode
Timeout time.Duration
}
SMTPConfig configures the built-in SMTP provider.
type SMTPProvider ¶
type SMTPProvider struct {
// contains filtered or unexported fields
}
SMTPProvider sends emails through an SMTP server.
func NewSMTPProvider ¶
func NewSMTPProvider(cfg SMTPConfig) (*SMTPProvider, error)
NewSMTPProvider builds an SMTP provider from config.
Click to show internal directories.
Click to hide internal directories.