Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AWSRegion string `json:"awsRegion"` AccessKeyID string `json:"accessKeyID"` FromEmail *jt.JSONType[*netMail.Address] `json:"fromEmail"` SecretKey string `json:"secretKey"` }
Config is the configuration for the AWS SES provider. It includes assets to create an AWS session.
func (Config) DefaultsAndValidate ¶
DefaultsAndValidate implements the jsontype.Config interface.
type InitializedConfig ¶
InitializedConfig is the configuration for the AWS SES provider after it has been initialized.
type SES ¶
type SES struct {
// contains filtered or unexported fields
}
SES is an email provider that uses AWS SES.
func NewProvider ¶
NewProvider creates a new SES provider. It will create an AWS session using the provided configuration.
func NewProviderInitialized ¶
func NewProviderInitialized(conf InitializedConfig, svc *ses.SES) (SES, error)
NewProviderInitialized creates a new SES provider with an initialized configuration.
func (SES) SendMagicLink ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.