email

package
v0.0.0-...-fc91ca8 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Template = `` /* 2581-byte string literal not displayed */

Variables

This section is empty.

Functions

func GenerateHTML

func GenerateHTML(request Request) (string, error)

Types

type Content

type Content struct {
	Title       string
	Body        string
	ActionTitle string
	ActionLink  string
}

type Interface

type Interface interface {
	Send(request Request) error
}

type Request

type Request struct {
	FromName    string
	FromAddress string
	ToName      string
	ToAddress   string
	Subject     string
	Content     Content
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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