ses

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSESEmailSender

func NewSESEmailSender(region, sender string) (*sESEmailSender, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL