Documentation ¶
Index ¶
- Variables
- func NewAwsConfig(ctx context.Context, log zerolog.Logger) aws.Config
- type Email
- type SesMailer
- func (s *SesMailer) CheckSendToAddress(email string) bool
- func (s *SesMailer) FilterUnsafeEmailsAndWarn(emails []string) []string
- func (s *SesMailer) FromAddress() string
- func (s *SesMailer) Send(ctx context.Context, email Email) error
- func (s *SesMailer) SendRaw(ctx context.Context, destinations []string, body []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultSafeEmailDomains = []string{"weavingwebs.co.uk", "litmusemail.com"}
Functions ¶
Types ¶
type SesMailer ¶ added in v0.5.5
type SesMailer struct { SafeEmailDomains []string // contains filtered or unexported fields }
func NewSesMailer ¶ added in v0.5.5
func NewSesMailerFromEnv ¶ added in v0.5.5
func (*SesMailer) CheckSendToAddress ¶ added in v0.5.5
func (*SesMailer) FilterUnsafeEmailsAndWarn ¶ added in v0.5.5
func (*SesMailer) FromAddress ¶ added in v0.17.2
Click to show internal directories.
Click to hide internal directories.