Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sender ¶
type Sender struct {
// contains filtered or unexported fields
}
Sender is an implementation for sending email with the SES Go SDK It lives in package "email" for now, but can be pulled out and imported if necessary for testing
func (Sender) Send ¶
func (s Sender) Send( ctx context.Context, toAddresses []models.EmailAddress, ccAddresses []models.EmailAddress, subject string, body string, ) error
Send sends an email. It will only return an error if there's an error connecting to SES; an invalid address/bounced email will *not* return an error.
Click to show internal directories.
Click to hide internal directories.