ses

package
v0.0.0-...-970b876 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AwsSession *session.Session

Functions

func DeleteSEStemplate

func DeleteSEStemplate(name *string) error

DeleteSEStemplate deletes a email-template from AWS-SES

func GetSEStemplate

func GetSEStemplate(name *string) (*sessdk.GetTemplateOutput, error)

GetSEStemplate gets a specific email-template from AWS-SES

func ListSEStemplates

func ListSEStemplates() ([]*sessdk.TemplateMetadata, error)

ListSEStemplates gets email-templates from AWS-SES

func NewSession

func NewSession(id, key, region string) (*session.Session, error)

NewSession makes a new aws session

func SendEmailWithTemplate

func SendEmailWithTemplate(sender, recipient, templateName string, datas map[string]interface{}) error

SendEmailWithTemplate sends a email with html template

func UploadSEStemplate

func UploadSEStemplate(sesTemplate *sessdk.Template) error

UploadSEStemplate uploads a email-template to AWS-SES

Types

This section is empty.

Jump to

Keyboard shortcuts

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