Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MailSender ¶
type MailSender struct {
// contains filtered or unexported fields
}
func NewMailSender ¶
func NewMailSender(cfg MailSenderConfig, logger *logrus.Logger) *MailSender
type MailSenderConfig ¶
type MailSenderConfig struct { Password string `yaml:"email_password" env:"EMAIL_PASSWORD"` Port int `yaml:"email_port" env:"EMAIL_PORT"` Host string `yaml:"email_host" env:"EMAIL_HOST"` EmailAddress string `yaml:"email_address" env:"EMAIL_ADDRESS"` EmailLogin string `yaml:"email_login" env:"EMAIl_LOGIN"` EnableTLS bool `yaml:"enable_TLS" env:"ENABLE_TLS"` }
Click to show internal directories.
Click to hide internal directories.