mailer

package
v0.0.0-...-2db6053 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send(to []mail.Address, tpl Template) error

func SendCC

func SendCC(subject string, to, cc []mail.Address, tpl Template) error

Types

type Recipients

type Recipients struct {
	To  []mail.Address `json:"to"`
	Cc  []mail.Address `json:"cc"`
	Bcc []mail.Address `json:"bcc"`
}

type Template

type Template interface {
	Subject() string
	HtmlBody() (string, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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