Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CRAMMD5Auth ¶
CRAMMD5Auth provides CRAM-MD5 auth for imap.SASL derived from net/smtp/auth.go.
func ConnectAndCheck ¶
func ConnectAndCheck(host string, user string, password string, explicitssl bool, subject string, config *ImapSettings) (int64, []byte, error)
ConnectAndCheck connects to an IMAP host, waiting for a given subject in INBOX for timeoutrcv seconds. It checks for new mail every waittime seconds, but reacts on a unilateral response indicating new mail.
Types ¶
Click to show internal directories.
Click to hide internal directories.