Class SesOptions
- Namespace
- Builvero.Application.Options
- Assembly
- Builvero.Application.dll
Configuration options for AWS SES email service integration.
public class SesOptions
- Inheritance
-
SesOptions
- Inherited Members
Remarks
These options are typically configured via environment variables:
Email__Ses__Region- AWS region (default: eu-west-2)Email__Ses__FromAddress- Verified sender email addressEmail__Ses__FromName- Display name for sender (optional)Email__Ses__ConfigurationSet- SES configuration set name (optional)Email__Ses__UseSandbox- Whether to use SES sandbox mode (default: false)
The sender email address must be verified in AWS SES before sending emails. In sandbox mode, only verified email addresses can receive emails.
Properties
ConfigurationSet
Gets or sets the SES configuration set name.
public string? ConfigurationSet { get; set; }
Property Value
- string
- Configuration options for AWS SES email service integration.
Remarks
Optional. Configuration sets allow you to track email sending metrics and events.
FromAddress
Gets or sets the verified sender email address.
public string FromAddress { get; set; }
Property Value
- string
- Configuration options for AWS SES email service integration.
Remarks
This email address must be verified in AWS SES before sending emails.
FromName
Gets or sets the display name for the sender.
public string FromName { get; set; }
Property Value
- string
- Configuration options for AWS SES email service integration.
Remarks
Optional. Defaults to "Builvero" if not specified.
Region
Gets or sets the AWS region for SES.
public string Region { get; set; }
Property Value
- string
- Configuration options for AWS SES email service integration.
Remarks
Defaults to "eu-west-2" if not specified.
UseSandbox
Gets or sets whether to use SES sandbox mode.
public bool UseSandbox { get; set; }
Property Value
- bool
- Configuration options for AWS SES email service integration.
Remarks
In sandbox mode, you can only send emails to verified email addresses. Defaults to false. Set to true for testing or when your SES account is in sandbox mode.