Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrClientNotConnected error = errors.New("client is not connected")
Functions ¶
func ResolveAddedAndRemoved ¶
Types ¶
type Client ¶
type Mailbox ¶
type Mailbox interface { Name() string FetchAllMessages() ([]Message, error) FetchAllMessageUIDs() ([]MessageUID, error) }
type MessageHeader ¶
type MessageHeader struct {
MessageUID
}
type MessageUID ¶
type MessageUID uint32
type MockSMTPServer ¶
type MockSMTPServer struct{}
func (*MockSMTPServer) NewSession ¶
func (ms *MockSMTPServer) NewSession(_ *smtp.Conn) (smtp.Session, error)
type Session ¶
type Session struct{}
func (*Session) Data ¶
Set currently processed message contents and send it.
r must be consumed before Data returns.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.