email

package
v0.0.0-...-f39a356 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: GPL-2.0, GPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attachment

type Attachment struct {
	ContentID string
	Name      string
	Data      []byte
}

type EmailParameters

type EmailParameters struct {
	To          string
	Cc          string
	Bcc         string
	Sender      string
	Attachments []Attachment
	Locale      string
	MailContext map[string]interface{}
}

type EmailTemplateSender

type EmailTemplateSender interface {
	SendEmailTemplate(mailType MailType, f func() (ep *EmailParameters, err error), accountId key.Key, filterer Filterer) error
}

type Filterer

type Filterer interface {
	Filter(mailType MailType) bool
}

type MailType

type MailType string

Jump to

Keyboard shortcuts

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