email

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//go:embed templates/updates/view.html
	UpdateHTMLEmailTemplate string
)

Functions

This section is empty.

Types

type Client

type Client interface {
	io.Closer
	Send(context.Context, SendOptions) (string, error)
	Name() malak.UpdateRecipientLogProvider
}

type SendOptions

type SendOptions struct {
	HTML      string
	Sender    malak.Email
	Recipient malak.Email
	Subject   string
	DKIM      struct {
		Sign       bool
		PrivateKey []byte
	}
}

func (SendOptions) Validate

func (s SendOptions) Validate() error

type SendOptionsBatch

type SendOptionsBatch []SendOptions

func (SendOptionsBatch) Validate

func (s SendOptionsBatch) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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