mses

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(cfg aws.Config)

Types

type Email

type Email struct {
}

func NewEmail

func NewEmail() *Email

func (*Email) SendEmail

func (item *Email) SendEmail(req ReqSendEmail) (*sesv2.SendEmailOutput, error)

func (*Email) SetCharSet added in v1.0.4

func (item *Email) SetCharSet(charSet string)

Set custom charSet. Default charSet is "UTF-8"

type ReqSendEmail added in v1.0.4

type ReqSendEmail struct {
	FromEmailAddress *string
	Subject          *string
	Text             *string
	HtmlBody         *string
	ToAddresses      []string
	BccAddresses     []string
	CcAddresses      []string
	ReplyToAddresses []string
}

func NewReqSendEmail added in v1.0.4

func NewReqSendEmail(subject, text, htmlBody string, toAddresses ...string) ReqSendEmail

Jump to

Keyboard shortcuts

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