smtp

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(addr string, ms Mailer) *Handler

func (*Handler) MailHandler

func (h *Handler) MailHandler(peer smtpd.Peer, env smtpd.Envelope) error

func (*Handler) MailServer

func (h *Handler) MailServer() error

type Mailer

type Mailer interface {
	SendMessage([]byte) error
}

Jump to

Keyboard shortcuts

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