client

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExampleRead

func ExampleRead()

func ExampleWriter

func ExampleWriter()

func Example_transform

func Example_transform()

Types

type ImapClient

type ImapClient struct {
	*client.Client
	// contains filtered or unexported fields
}

func GetImapClient

func GetImapClient() *ImapClient

func (*ImapClient) Login

func (this *ImapClient) Login(addr string, username string, password string) error

func (*ImapClient) Logout

func (this *ImapClient) Logout()

type SmtpClient

type SmtpClient struct {
	*smtp.Client
	// contains filtered or unexported fields
}

func GetSmtpClient

func GetSmtpClient() *SmtpClient

func (*SmtpClient) Dial

func (this *SmtpClient) Dial(addr string, sender string, recipient string) error

func (*SmtpClient) Print

func (this *SmtpClient) Print(format string, a ...interface{}) error

func (*SmtpClient) Quit

func (this *SmtpClient) Quit() error

func (*SmtpClient) Send

func (this *SmtpClient) Send(addr string, username string, password string, from string, to []string, message string) error

func (*SmtpClient) Sign

func (this *SmtpClient) Sign(msg string, signer crypto.Signer) error

func (*SmtpClient) Verify

func (this *SmtpClient) Verify(msg string) error

Jump to

Keyboard shortcuts

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