imap

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2023 License: GPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMailboxes

func NewMailboxes() *mailboxes

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func Connect

func Connect(url config.Url, numConnections int) (*Client, error)

func (*Client) Disconnect

func (cl *Client) Disconnect()

func (*Client) EnsureFolder

func (cl *Client) EnsureFolder(folder Folder) error

func (*Client) NewFolder

func (cl *Client) NewFolder(path []string) Folder

func (*Client) PutMessages

func (cl *Client) PutMessages(folder Folder, messages []string) error

func (*Client) Replace

func (cl *Client) Replace(folder Folder, header, value, newContent string, force bool) error

type Folder

type Folder struct {
	// contains filtered or unexported fields
}

func (Folder) Append

func (f Folder) Append(other Folder) Folder

func (Folder) IsBlank added in v1.2.0

func (f Folder) IsBlank() bool

func (Folder) String

func (f Folder) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL