smtp

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2021 License: MIT Imports: 8 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.4.0

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

Backend implements SMTP server methods.

func NewBackend added in v0.4.0

func NewBackend(app *app.App) Backend

func (Backend) AnonymousLogin added in v0.4.0

func (b Backend) AnonymousLogin(state *smtp.ConnectionState) (smtp.Session, error)

func (Backend) Login added in v0.4.0

func (b Backend) Login(state *smtp.ConnectionState, username, password string) (smtp.Session, error)

type SMTP

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

func New

func New(b Backend, config domain.ConfigSMTP) SMTP

func (SMTP) Start

func (s SMTP) Start()

Jump to

Keyboard shortcuts

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