Documentation
¶
Index ¶
- type Attachment
- type Client
- func (c *Client) SendEmail(recipient, subject, htmlBody string) (*ses.SendEmailOutput, error)
- func (c *Client) SendEmailWithAttachment(recipient, subject, htmlBody string, attachments []Attachment) (*ses.SendRawEmailOutput, error)
- func (c *Client) SendSMS(phoneNumber string, message string) (string, error)
- func (c *Client) SetEmailSender(emailSender string)
- func (c *Client) SetPushNotificationARN(arn string)
- func (c *Client) SetSenderName(senderName string)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶ added in v1.3.23
type Client ¶
type Client struct {
Region string
AccessKeyID string
SecretAccessKey string
EmailSender string
SenderName string
PushNotificationARN string
}
Client contains the AWS configuration and methods
func (*Client) SendEmail ¶
func (c *Client) SendEmail(recipient, subject, htmlBody string) (*ses.SendEmailOutput, error)
SendEmail delivery an email utilizing the AWS SES service
func (*Client) SendEmailWithAttachment ¶ added in v1.3.23
func (c *Client) SendEmailWithAttachment(recipient, subject, htmlBody string, attachments []Attachment) (*ses.SendRawEmailOutput, error)
SendEmailWithAttachment delivers an email with attachments using AWS SES
func (*Client) SetEmailSender ¶
func (*Client) SetPushNotificationARN ¶
func (*Client) SetSenderName ¶ added in v1.3.24
Click to show internal directories.
Click to hide internal directories.