Documentation ¶
Index ¶
Constants ¶
View Source
const (
IdleTimeout = 29 * time.Minute
)
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ImapClient ¶
type ImapClient struct { Host string Port uint Ssl bool Username string Password string // contains filtered or unexported fields }
func (*ImapClient) Addr ¶
func (c *ImapClient) Addr() string
func (*ImapClient) Connect ¶
func (c *ImapClient) Connect() error
func (*ImapClient) Disconnect ¶
func (c *ImapClient) Disconnect()
func (*ImapClient) Incoming ¶
func (c *ImapClient) Incoming() (messages []string, err error)
func (*ImapClient) Select ¶
func (c *ImapClient) Select(mailbox string) error
func (*ImapClient) Unseen ¶
func (c *ImapClient) Unseen() (messages []string, err error)
Click to show internal directories.
Click to hide internal directories.