Documentation ¶
Index ¶
- Variables
- func DeleteSEStemplate(name *string) error
- func GetSEStemplate(name *string) (*sessdk.GetTemplateOutput, error)
- func ListSEStemplates() ([]*sessdk.TemplateMetadata, error)
- func NewSession(id, key, region string) (*session.Session, error)
- func SendEmailWithTemplate(sender, recipient, templateName string, datas map[string]interface{}) error
- func UploadSEStemplate(sesTemplate *sessdk.Template) error
Constants ¶
This section is empty.
Variables ¶
View Source
var AwsSession *session.Session
Functions ¶
func DeleteSEStemplate ¶
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 ¶
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 ¶
UploadSEStemplate uploads a email-template to AWS-SES
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.