Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailSender ¶
type EmailSender struct {
SmtpSenderMail string `json:"smtp_sender_mail" yaml:"smtp_sender_mail"`
SmtpSenderAlias string `json:"smtp_sender_alias" yaml:"smtp_sender_alias"`
SmtpSenderTo []string `json:"smtp_sender_to" yaml:"smtp_sender_to"`
SmtpSenderAddr string `json:"smtp_sender_addr" yaml:"smtp_sender_addr"`
SmtpSenderPort int `json:"smtp_sender_port" yaml:"smtp_sender_port"`
Account string `json:"account" yaml:"account"`
Password string `json:"password" yaml:"password"`
Proxy cfg_proxy.Proxy `json:"proxy" yaml:"proxy"`
TLS *cfg_tls.TLS `json:"tls" yaml:"tls"`
}
func (*EmailSender) Send ¶
func (e *EmailSender) Send(subject, body string) error
Click to show internal directories.
Click to hide internal directories.