Documentation ¶
Overview ¶
SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: GPL-3.0-or-later
Index ¶
- Variables
- type ImapConnection
- func (ic *ImapConnection) Check(ids []uint32) ([]*RawMail, error)
- func (ic *ImapConnection) Close() error
- func (ic *ImapConnection) Delete(uids []uint32) error
- func (ic *ImapConnection) DeleteReady() (error, error)
- func (ic *ImapConnection) FetchIdHeaders(uids []uint32) ([]*domain.ImapIdInfo, error)
- func (ic *ImapConnection) FetchMails(uids []uint32) ([]*domain.RawImapMail, error)
- func (ic *ImapConnection) ListUids() ([]uint32, error)
- func (ic *ImapConnection) Move(uids []uint32, folder string) error
- func (ic *ImapConnection) MoveReady() (error, error)
- func (ic *ImapConnection) Put(body []byte, folder string) error
- func (ic *ImapConnection) Select(folder string) (uint32, error)
- type RawMail
Constants ¶
This section is empty.
Variables ¶
View Source
var ItemsWithDeletedFlagPresent = fmt.Errorf("folder has previous items with delete flag set")
Functions ¶
This section is empty.
Types ¶
type ImapConnection ¶
type ImapConnection struct {
// contains filtered or unexported fields
}
func NewImapConnection ¶
func NewImapConnection(server string, user string, password string) (*ImapConnection, error)
func (*ImapConnection) Close ¶
func (ic *ImapConnection) Close() error
func (*ImapConnection) Delete ¶
func (ic *ImapConnection) Delete(uids []uint32) error
func (*ImapConnection) DeleteReady ¶
func (ic *ImapConnection) DeleteReady() (error, error)
func (*ImapConnection) FetchIdHeaders ¶
func (ic *ImapConnection) FetchIdHeaders(uids []uint32) ([]*domain.ImapIdInfo, error)
func (*ImapConnection) FetchMails ¶
func (ic *ImapConnection) FetchMails(uids []uint32) ([]*domain.RawImapMail, error)
func (*ImapConnection) ListUids ¶
func (ic *ImapConnection) ListUids() ([]uint32, error)
func (*ImapConnection) MoveReady ¶
func (ic *ImapConnection) MoveReady() (error, error)
Click to show internal directories.
Click to hide internal directories.