Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SmtpConfig ¶
type SmtpHandler ¶
func NewSmtpHandler ¶
func NewSmtpHandler(config SmtpConfig, from string, to []string, subject string) *SmtpHandler
func (*SmtpHandler) AddToAccount ¶
func (s *SmtpHandler) AddToAccount(to ...string)
func (*SmtpHandler) SendMail ¶
func (s *SmtpHandler) SendMail(subject string, message string, isHtml bool) error
func (*SmtpHandler) SetFrom ¶
func (s *SmtpHandler) SetFrom(from string)
func (*SmtpHandler) SetSubject ¶
func (s *SmtpHandler) SetSubject(subject string)
Click to show internal directories.
Click to hide internal directories.