Documentation ¶
Index ¶
- type EmailClient
- func (c *EmailClient) ListMailboxes() ([]imap.MailboxInfo, error)
- func (c *EmailClient) Login(config *types.AccountConfig) error
- func (c *EmailClient) Logout() error
- func (c *EmailClient) ReadMailbox(name string, limit uint32) ([]imap.Message, error)
- func (c *EmailClient) SendMail(mail types.EMail) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailClient ¶ added in v0.1.0
type EmailClient struct {
// contains filtered or unexported fields
}
func (*EmailClient) ListMailboxes ¶ added in v0.1.0
func (c *EmailClient) ListMailboxes() ([]imap.MailboxInfo, error)
func (*EmailClient) Login ¶ added in v0.1.0
func (c *EmailClient) Login(config *types.AccountConfig) error
func (*EmailClient) Logout ¶ added in v0.1.0
func (c *EmailClient) Logout() error
func (*EmailClient) ReadMailbox ¶ added in v0.1.0
func (c *EmailClient) ReadMailbox(name string, limit uint32) ([]imap.Message, error)
Click to show internal directories.
Click to hide internal directories.