Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendMessage ¶
Types ¶
type EmailClient ¶
type EmailClient struct { Type string Message *Message SelfHostMail SendCloudMail }
EmailClient 发送客户端
type Message ¶
type Message struct { SelfHostFrom string SendCloudFrom string FromName string To []string Cc []string Subject string ContentType string Content string Attach string }
Message 内容
type SelfHostMail ¶
type SendCloudMail ¶
type SendMail ¶
type SendMail struct {
Client *EmailClient
}
func NewSendMail ¶
func (*SendMail) SendMessage ¶
type SendWeixin ¶
type SendWeixin struct {
Content string
}
func NewSendWeixin ¶
func NewSendWeixin(content string) *SendWeixin
func (*SendWeixin) SendMessage ¶
func (s *SendWeixin) SendMessage() error
Click to show internal directories.
Click to hide internal directories.