Documentation ¶ Index ¶ func GetMail(username string, password string, index uint32) []byte func GetMailSubject(c *client.Client, index uint32) []byte func SendMail(from string, to []string, subject string, body []byte, password string) func StartImapSession(username string, password string) *client.Client Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetMail ¶ func GetMail(username string, password string, index uint32) []byte GetMail gets a mail with specified index from inbox func GetMailSubject ¶ func GetMailSubject(c *client.Client, index uint32) []byte func SendMail ¶ func SendMail(from string, to []string, subject string, body []byte, password string) SendMail sends a mail from a user to several users func StartImapSession ¶ func StartImapSession(username string, password string) *client.Client Types ¶ This section is empty. Source Files ¶ View all Source files mail.go Click to show internal directories. Click to hide internal directories.