Documentation
¶
Overview ¶
This module listens on an IMAP connection, initially reading all mail in the given folder, then starting an IDLE connection, and reading new mail. Whenever it has processed an email (successfully or failed due to some parsing error), it deletes it.
Index ¶
Constants ¶
View Source
const Xoauth2 = "XOAUTH2"
The XOAUTH2 mechanism name.
Variables ¶
This section is empty.
Functions ¶
func NewXoauth2Client ¶
An implementation of the XOAUTH2 authentication mechanism, as described in https://developers.google.com/gmail/xoauth2_protocol.
Types ¶
type Session ¶
type Xoauth2Error ¶
type Xoauth2Error struct {
Status string `json:"status"`
Schemes string `json:"schemes"`
Scope string `json:"scope"`
}
An XOAUTH2 error.
Click to show internal directories.
Click to hide internal directories.