Documentation ¶
Index ¶
- func BodyOfType(msg *mail.Message, mimetype string) (body io.Reader, err error)
- func Dial(server *IMAPServer) (c *imap.Client)
- func FetchAllUIDs(c *imap.Client) (uids []uint32, err error)
- func FetchMessages(c *imap.Client, uidSet *imap.SeqSet) (err error)
- func HTMLBody(msg *mail.Message) (body string, err error)
- func MultipartBodyOfType(msg *mail.Message, mimetype string) (body io.Reader, err error)
- func PrintMail(acct *IMAPAccount, query string)
- func PrintMessageAsJSON(msg *mail.Message, uid uint32)
- func SearchUIDs(c *imap.Client, query string) (uids []uint32, err error)
- func TextBody(msg *mail.Message) (body string, err error)
- type IMAPAccount
- type IMAPServer
- type UIDFetchJob
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dial ¶
func Dial(server *IMAPServer) (c *imap.Client)
func MultipartBodyOfType ¶
func PrintMail ¶
func PrintMail(acct *IMAPAccount, query string)
func PrintMessageAsJSON ¶
Types ¶
type IMAPAccount ¶
type IMAPAccount struct { Username string Password string Server *IMAPServer }
type IMAPServer ¶
type UIDFetchJob ¶
type UIDFetchJob struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.