smtp

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend added in v0.13.0

type Backend struct {
	// contains filtered or unexported fields
}

The Backend implements SMTP server methods.

func NewBackend added in v0.13.0

func NewBackend(app core.App) *Backend

func (*Backend) NewSession added in v0.13.0

func (b *Backend) NewSession(state *smtp.Conn) (smtp.Session, error)

type SMTP

type SMTP struct {
	// contains filtered or unexported fields
}

func New

func New(backend smtp.Backend, addr string, maxMessageBytes int64) SMTP

func (SMTP) Serve added in v0.13.0

func (s SMTP) Serve(ctx context.Context) error

func (SMTP) String added in v0.13.0

func (SMTP) String() string

Jump to

Keyboard shortcuts

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