mock

package
v0.0.0-...-6005b74 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send(to, sub, body string, data interface{}) error

Send records that an attempt was made to send an email.

Types

type Email

type Email struct {
	To   string
	Sub  string
	Body string
}

Email represents a sent email.

func LastSentTo

func LastSentTo(a string) *Email

LastSentTo returns the last sent email to the given address.

Jump to

Keyboard shortcuts

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