Versions in this module Expand all Collapse all v0 v0.0.4 Feb 18, 2023 v0.0.3 Feb 18, 2023 Changes in this version + var Debug bool + type Client struct + CapaCAPA bool + CapaTOP bool + CapaUIDL bool + Count int + Errors []error + Info []string + List []MessageList + Size int + func Dial(addr string) (c *Client, err error) + func DialTLS(addr string) (c *Client, err error) + func NewClient(conn net.Conn) (c *Client, err error) + func (c *Client) Authorization(user, pass string) (err error) + func (c *Client) Dele(msg int) (err error) + func (c *Client) ListAll() (err error) + func (c *Client) ListCapabilities() (err error) + func (c *Client) Noop() (err error) + func (c *Client) Quit() (err error) + func (c *Client) Retr(msg int) (message *mail.Message, err error) + func (c *Client) RetrRaw(msg int) (message []byte, err error) + func (c *Client) Rset() (err error) + func (c *Client) Stat() (err error) + func (c *Client) Status() bool + func (c *Client) Top() (headers []string, err error) + type Connection struct + Reader *textproto.Reader + Writer *textproto.Writer + func NewConnection(conn io.ReadWriteCloser) *Connection + func (c *Connection) Close() error + func (c *Connection) Cmd(format string, args ...interface{}) (string, error) + func (c *Connection) ReadDot() (raw []byte, err error) + func (c *Connection) ReadLine() (string, error) + func (c *Connection) ReadLines() (lines []string, err error) + type MessageList struct + ID int + Size int + UID string