Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Mail ¶
type Mail struct {
// contains filtered or unexported fields
}
func (*Mail) SendWithAttachment ¶
func (m *Mail) SendWithAttachment(title, body string, toEmail []*mail.Address, attachment []*Attachment) error
the email format see https://support.microsoft.com/zh-cn/kb/969854 https://tools.ietf.org/html/rfc1341
Click to show internal directories.
Click to hide internal directories.