emailtest

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestMailer

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

func NewTestMailer

func NewTestMailer() *TestMailer

func (*TestMailer) EmailsSent

func (m *TestMailer) EmailsSent() []*email.Message

func (*TestMailer) Mail

func (m *TestMailer) Mail(msg *email.Message) error

type TestMailerConfig added in v0.11.0

type TestMailerConfig struct {
}

func NewTestMailerConfig added in v0.11.0

func NewTestMailerConfig() *TestMailerConfig

func (*TestMailerConfig) Mailer added in v0.11.0

func (c *TestMailerConfig) Mailer() email.Mailer

Jump to

Keyboard shortcuts

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