Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EmailerConfig ¶
type EmailerConfig struct { // Endpoint is the AWS endpoint to use for requests. Endpoint string // AccessKeyID is your Amazon AWS access key ID. AccessKeyID string // SecretAccessKey is your Amazon AWS secret key. SecretAccessKey string // From is the default from email From string }
EmailerConfig specifies configuration options and credentials for accessing Amazon SES.
var DefaultEmailer EmailerConfig
DefaultEmailer default emailer
func (*EmailerConfig) SendEmail ¶
func (c *EmailerConfig) SendEmail(to, subject, body string) (string, error)
SendEmail sends a plain text email.
func (*EmailerConfig) SendEmailHTML ¶
func (c *EmailerConfig) SendEmailHTML(to, subject, bodyHTML, bodyText string) (string, error)
SendEmailHTML sends a HTML email.
func (*EmailerConfig) SendRawEmail ¶
func (c *EmailerConfig) SendRawEmail(raw []byte) (string, error)
SendRawEmail sends a raw email.
Click to show internal directories.
Click to hide internal directories.