Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSESEmailSender ¶
NewSESEmailSender creates a new instance of SESEmailSender. It initializes the SES email sender with the provided AWS region and sender email address.
Parameters:
- region: The AWS region to be used for sending emails.
- sender: The email address to be used as the sender.
Returns:
- *SESEmailSender: A pointer to the initialized SESEmailSender.
- error: An error if the initialization fails, otherwise nil.
func NewSESEmailSenderWithCredentials ¶
func NewSESEmailSenderWithCredentials(region, sender, accessKeyID, secretAccessKey string) (*sESEmailSender, error)
NewSESEmailSenderWithCredentials creates a new instance of SESEmailSender. It initializes the SES email sender with the provided AWS region, sender email address, and AWS credentials.
Parameters:
- region: The AWS region to be used for sending emails.
- sender: The email address to be used as the sender.
- accessKeyID: The AWS access key ID.
- secretAccessKey: The AWS secret access key.
Returns:
- *SESEmailSender: A pointer to the initialized SESEmailSender.
- error: An error if the initialization fails, otherwise nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.