services

package
v0.0.0-...-d210123 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Sender = "contato@produtos.cartoes.com.br"
	// Specify a configuration set. To use a configuration
	// set, comment the next line and line 92.
	ConfigurationSet = "production-hermes-configuration-set"
	Subject          = "Amazon SES Test (AWS SDK for Go)"
	HtmlBody         = ``
	TextBody         = "This email was sent with Amazon SES using the AWS SDK for Go."
	CharSet          = "UTF-8"
)

Variables

This section is empty.

Functions

func SendEmail

func SendEmail(destinations []*string)

func SendEmail2

func SendEmail2()

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service represents smpt service

func NewSMPTService

func NewSMPTService(config config.SMTPConfig) *Service

NewSMPTService return a smpt service reference

func (*Service) SendEmail

func (s *Service) SendEmail(email string) (err error)

SendEmail send email using smtp service

Jump to

Keyboard shortcuts

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