Documentation
¶
Overview ¶
Package mbxs provides functions and types for working with IMAP mailboxes used by applications in this module.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MailboxCheckResult ¶
MailboxCheckResult notes how many mail items were found for a specific mailbox
type MailboxCheckResults ¶
type MailboxCheckResults []MailboxCheckResult
MailboxCheckResults represents a collection of all results from mailbox checks.
func (MailboxCheckResults) GotMail ¶
func (mcr MailboxCheckResults) GotMail() bool
GotMail returns true if mail was found in checked mailboxes or false if not.
func (MailboxCheckResults) MessagesFoundSummary ¶
func (mcr MailboxCheckResults) MessagesFoundSummary() string
MessagesFoundSummary returns a one-line summary of the mail items found in checked mailboxes.
func (MailboxCheckResults) TotalMessagesFound ¶
func (mcr MailboxCheckResults) TotalMessagesFound() int
TotalMessagesFound returns a count of all messages found across all checked mailboxes.
Click to show internal directories.
Click to hide internal directories.