servicemailjet

package
v5.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2023 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send(ctx context.Context, input SendInput, variables map[string]interface{}) error

func SendOrder

func SendOrder(ctx context.Context, input SendInput, variables SendOrderVariables) error

Types

type Email

type Email struct {
	Address string
	Name    string
}

type SendInput

type SendInput struct {
	From       Email
	To         []Email
	Subject    string
	TemplateID TemplateID
}

type SendOrderVariables

type SendOrderVariables struct {
	FirstName     string
	Title         string
	Content       string
	ActionText    string
	ActionLink    string
	ActionEnabled string
}

type TemplateID

type TemplateID int
const (
	TemplateIDOrder TemplateID = 3889572
)

Jump to

Keyboard shortcuts

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