fake

package
v0.0.0-...-3118640 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SmtpBackend

type SmtpBackend struct {
	Debug chan []byte
}

func (*SmtpBackend) NewSession

func (f *SmtpBackend) NewSession(c *smtp.Conn) (smtp.Session, error)

type SmtpSession

type SmtpSession struct {
	Debug chan []byte
}

func (*SmtpSession) AuthPlain

func (f *SmtpSession) AuthPlain(username, password string) error

func (*SmtpSession) Data

func (f *SmtpSession) Data(r io.Reader) error

func (*SmtpSession) Logout

func (f *SmtpSession) Logout() error

func (*SmtpSession) Mail

func (f *SmtpSession) Mail(from string, opts *smtp.MailOptions) error

func (*SmtpSession) Rcpt

func (f *SmtpSession) Rcpt(to string) error

func (*SmtpSession) Reset

func (f *SmtpSession) Reset()

Jump to

Keyboard shortcuts

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