goses

package
v0.0.0-...-26e3963 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const CharSet = "UTF-8"

CharSet repsents the charset type for email messages (UTF-8)

Variables

This section is empty.

Functions

func InitSesh

func InitSesh() interface{}

InitSesh initializes a new SES session.

func ListVerifiedIdentities

func ListVerifiedIdentities(svc interface{}) error

ListVerifiedIdentities lists the SES verified email addresses for the account.

func NewSESClient

func NewSESClient(session goaws.Session) interface{}

func SendEmail

func SendEmail(svc interface{}, to, cc, replyTo []string, from, subject, textBody, htmlBody string) error

SendEmail sends a new email message. To and CC addresses are passed as []string, all other fields as strings.

func SendEmailWithConfigSet

func SendEmailWithConfigSet(
	svc interface{},
	to, cc, replyTo []string,
	from, subject, textBody, htmlBody, configSetName string,
) error

SendEmailWithConfigSet sends a new email message with a configuration set option. To and CC addresses are passed as []string, all other fields as strings.

func SendPlainTextEmail

func SendPlainTextEmail(svc interface{}, to, cc, replyTo []string, from, subject, textBody string) error

SendEmail sends a new email message. To and CC addresses are passed as []string, all other fields as strings.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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