Documentation ¶
Overview ¶
Package maildir provides methods for interacting with the Maildir format as specified at http://cr.yp.to/proto/maildir.html
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorDuplicateKey = errors.New("Key exists more than once.")
View Source
var ErrorUnknownKey = errors.New("Key does not exist in Maildir.")
Functions ¶
This section is empty.
Types ¶
type Dir ¶
type Dir struct {
// contains filtered or unexported fields
}
Dir represents a single Maildir folder.
func Open ¶
Open opens a maildir. Given create, if the "cur", "tmp", or "new" directories do not exist, they are created.
type Message ¶
type Message struct { // Key is a unique string identifying the message in the Maildir Key string // contains filtered or unexported fields }
Message represents a file in a Maildir.
func (*Message) Filename ¶
Filename returns the current path of the file containing Message. Treat with caution as it may become invalid after flags are changed by another MUA for example.
Click to show internal directories.
Click to hide internal directories.