specialuse

package module
v0.0.0-...-1ab93d3 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2020 License: MIT Imports: 1 Imported by: 4

README

go-imap-specialuse

GoDoc

Special-Use Mailboxes extension for go-imap.

Note: as of go-imap@3e25bca974bb, this extension has been merged into go-imap itself.

License

MIT

Documentation

Overview

Special-Use mailboxes extension, as defined in RFC 6154.

Index

Constants

View Source
const (
	// This mailbox presents all messages in the user's message store.
	All = "\\All"
	// This mailbox is used to archive messages.
	Archive = "\\Archive"
	// This mailbox is used to hold draft messages -- typically, messages that are
	// being composed but have not yet been sent.
	Drafts = "\\Drafts"
	// This mailbox presents all messages marked in some way as "important".
	Flagged = "\\Flagged"
	// This mailbox is where messages deemed to be junk mail are held.
	Junk = "\\Junk"
	// This mailbox is used to hold copies of messages that have been sent.
	Sent = "\\Sent"
	// This mailbox is used to hold messages that have been deleted or marked for
	// deletion.
	Trash = "\\Trash"
	// This mailbox contains messages that are likely important to the user.
	// (defined in RFC 8457)
	Important = "\\Important"
)

Mailbox attributes defined in RFC 6154 section 2.

View Source
const Capability = "SPECIAL-USE"

The SPECIAL-USE capability.

View Source
const ImportantCapability = "IMPORTANT"

The capability for \Important attribute (RFC 8457)

Variables

This section is empty.

Functions

func NewExtension

func NewExtension() server.Extension

Types

This section is empty.

Jump to

Keyboard shortcuts

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