Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SmtpHelper ¶
type SmtpHelper struct {
UserName string `json:"username" xml:"username" form:"username"`
PassWord string `json:"password" xml:"password" form:"password"`
HostName string `json:"hostname" xml:"hostname" form:"hostname"`
To string `json:"sendto" xml:"sendto" form:"sendto"`
Cc string `json:"cc" xml:"cc" form:"cc"`
Bcc string `json:"bcc" xml:"bcc" form:"bcc"`
Subject string `json:"subject" xml:"subject" form:"subject"`
Body string `json:"body" xml:"body" form:"body"`
IsHtml bool `json:"ishtml" xml:"ishtml" form:"ishtml"`
}
func (*SmtpHelper) SendMail ¶
func (helper *SmtpHelper) SendMail() error
func (*SmtpHelper) SendMailTls ¶
func (helper *SmtpHelper) SendMailTls() error
Click to show internal directories.
Click to hide internal directories.