SesMailProvider class
Amazon SES v2, signed with AWS Signature Version 4.
SES has no API-key auth, so this signs each request with the account's credentials. Temporary credentials work too: a session token is included in the signature when present.
- Inheritance
-
- Object
- DVHttpMailProvider
- SesMailProvider
Constructors
- SesMailProvider({required DVAwsCredentials credentials, required String region, Uri? baseUrl, DateTime now()?, DVHttpSend transport = dvSendHttpRequest})
Properties
- apiKey → String
-
finalinherited
- baseUrl → Uri
-
finalinherited
- credentials → DVAwsCredentials
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- now → DateTime Function()
-
Injectable clock. SigV4 signatures are time-bound, so tests pin it.
final
- providerName → String
-
no setteroverride
- region → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transport → DVHttpSend
-
finalinherited
Methods
-
buildRequest(
DVMailMessage message) → DVHttpRequest -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
DVMailMessage message) → Future< void> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited