package
1.0.1
Repository: https://github.com/mailgun/go-imap.git
Documentation: pkg.go.dev

# Functions

Dial connects to an IMAP server using an unencrypted connection.
DialTLS connects to an IMAP server using an encrypted connection.
DialWithDialer connects to an IMAP server using an unencrypted connection using dialer.Dial.
DialWithDialerTLS connects to an IMAP server using an encrypted connection using dialer.Dial.
New creates a new client from an existing connection.

# Variables

ErrAlreadyLoggedIn is returned if Login or Authenticate is called when the client is already logged in.
ErrAlreadyLoggedOut is returned if Logout is called when the client is already logged out.
ErrLoginDisabled is returned if Login or Authenticate is called when the server has disabled authentication.
ErrNoMailboxSelected is returned if a command that requires a mailbox to be selected is called when there isn't.
ErrNotLoggedIn is returned if a function that requires the client to be logged in is called then the client isn't.
ErrTLSAlreadyEnabled is returned if StartTLS is called when TLS is already enabled.

# Structs

Client is an IMAP client.