Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrIMAPInvalidConfig = errors.New("invalid imap configuration") ErrIMAPConnFailure = errors.New("could not connect with imap") ErrIMAPNotConnected = errors.New("unable to perform, not connected to imap") ErrIMAPServerProblem = errors.New("imap server was unable to perform operation") )
View Source
var ( ErrInvalidFolderSet = errors.New("invalid folder set") ErrInvalidFolderName = errors.New("invalid folder name") )
Functions ¶
This section is empty.
Types ¶
type IMAP ¶
type IMAP struct {
// contains filtered or unexported fields
}
func NewIMAP ¶
func NewIMAP(config *IMAPConfig) *IMAP
type IMAPBody ¶
type IMAPBody struct {
// contains filtered or unexported fields
}
func NewIMAPBody ¶
type IMAPConfig ¶
type IMAPConfig struct { IMAPURL string IMAPUsername string IMAPPassword string IMAPFolderPrefix string }
func (*IMAPConfig) Valid ¶
func (esc *IMAPConfig) Valid() bool
Click to show internal directories.
Click to hide internal directories.