postmark

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCouldNotSend  = errors.New("could not send mail")
	ErrNotAuthorized = errors.New("Unauthorized")
)

Functions

This section is empty.

Types

type Postmark

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

func New

func New(token string) Postmark

func (*Postmark) SendEmail

func (p *Postmark) SendEmail(ctx context.Context, payload services.EmailPayload) error

SendEmail implements services.EmailClient.

Jump to

Keyboard shortcuts

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