Documentation ¶
Overview ¶
IMAP responses defined in RFC 3501.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticate ¶
type Authenticate struct { Mechanism sasl.Client InitialResponse []byte Writer *imap.Writer }
An AUTHENTICATE response.
func (*Authenticate) HandleFrom ¶
func (r *Authenticate) HandleFrom(hdlr imap.RespHandler) (err error)
type Capability ¶
type Capability struct {
Caps []string
}
A CAPABILITY response. See RFC 3501 section 7.2.1
func (*Capability) HandleFrom ¶
func (r *Capability) HandleFrom(hdlr imap.RespHandler) (err error)
func (*Capability) WriteTo ¶
func (r *Capability) WriteTo(w *imap.Writer) error
type Expunge ¶
type Expunge struct {
SeqNums chan uint32
}
An EXPUNGE response. See RFC 3501 section 7.4.1
func (*Expunge) HandleFrom ¶
type Fetch ¶
type Fetch struct {
Messages chan *imap.Message
}
A FETCH response. See RFC 3501 section 7.4.2
func (*Fetch) HandleFrom ¶
type List ¶
type List struct { Mailboxes chan *imap.MailboxInfo Subscribed bool }
A LIST response. If Subscribed is set to true, LSUB will be used instead. See RFC 3501 section 7.2.2
func (*List) HandleFrom ¶
type Search ¶
type Search struct {
Ids []uint32
}
A SEARCH response. See RFC 3501 section 7.2.5
func (*Search) HandleFrom ¶
type Select ¶
type Select struct {
Mailbox *imap.MailboxStatus
}
A SELECT response.
func (*Select) HandleFrom ¶
Click to show internal directories.
Click to hide internal directories.