Documentation
¶
Index ¶
Constants ¶
View Source
const ( //SMTP_NOAUTH login using no authentication SMTP_NOAUTH = "NO_AUTH" //SMTP_PLAIN login using PLAIN authentication for google SMTP_PLAIN = "PLAIN_AUTH" //SMTP_LOGIN login using no authentication for other SMTP_LOGIN = "LOGIN" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimpleEmailMaker ¶
type SimpleEmailMaker struct {
// contains filtered or unexported fields
}
SimpleEmailMaker makes email from config
func NewSimpleEmailMaker ¶
func NewSimpleEmailMaker(c *viper.Viper) (*SimpleEmailMaker, error)
type SimpleEmailSender ¶
type SimpleEmailSender struct {
// contains filtered or unexported fields
}
SimpleEmailSender uses standard esmtp lib to send emails
func NewSimpleEmailSender ¶
func NewSimpleEmailSender(c *viper.Viper) (*SimpleEmailSender, error)
Click to show internal directories.
Click to hide internal directories.