email

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2022 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

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.ClientConfig) 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)

func (*EmailClient) SendMail added in v0.1.0

func (c *EmailClient) SendMail(mail types.EMail) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL