email

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Email

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

func NewEmail

func NewEmail(c smtp.SmtpClient) *Email

func (*Email) Build

func (e *Email) Build(glob string, params interface{}) error

TODO(subomi): glob pattern must not match more than one template

func (*Email) Send

func (e *Email) Send(emailAddr, subject string) error

Jump to

Keyboard shortcuts

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