postoffice

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parcel

type Parcel struct {
	FromAddress string
	FromName    string
	ToAddress   string
	ToName      string
	Subject     string
	Body        string
}

Parcel contains the data to compose an email

type PostOffice added in v0.4.2

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

PostOffice wraps mail dialer.

func New added in v0.0.8

func New(c connect.Connect) PostOffice

New creates a new instance of PostOffice

func (PostOffice) Deliver added in v0.4.2

func (pm PostOffice) Deliver(p Parcel) error

Deliver asks the postman to deliver a parcel.

Jump to

Keyboard shortcuts

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