Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MailItem ¶
type MailItem struct { From string `json:"from,omitempty"` To []string `json:"to,omitempty"` Subject string `json:"subject,omitempty"` Body string `json:"body,omitempty"` Id uint64 `json:"id,omitempty"` // contains filtered or unexported fields }
func NewMailItem ¶
func NewMailItem(from string, to []string, subject, body string, sender MailSender) MailItem
func (MailItem) GetMailTime ¶
type MailSender ¶
type MailSender struct {
// contains filtered or unexported fields
}
func NewMailSender ¶
func NewMailSender(host string, port int, username, password string) MailSender
Click to show internal directories.
Click to hide internal directories.