DripDrop.Channels.Email.SES (DripDrop v0.1.0)

Copy Markdown View Source

Amazon SES email provider backed by Swoosh.

The provider sends through Swoosh.Adapters.AmazonSES and declares the SES SNS webhook route used by the event-ingestion layer. Inbound notifications are verified with Amazon SNS certificate signatures before persistence.

Summary

Functions

Delivers a step for this provider.

Validates provider credentials against the required credential list.

Verifies a provider webhook signature.

Returns provider webhook routes.

Functions

deliver(step, enrollment, adapter)

@spec deliver(map(), map(), map()) :: {:ok, map()} | {:error, map()}

Delivers a step for this provider.

validate_credentials(credentials)

@spec validate_credentials(map()) :: :ok | {:error, [{atom(), binary()}]}

Validates provider credentials against the required credential list.

verify_signature(adapter, request)

@spec verify_signature(map(), map()) :: :ok | {:error, term()}

Verifies a provider webhook signature.

webhook_routes(adapter)

@spec webhook_routes(map()) :: [DripDrop.Channel.webhook_route()]

Returns provider webhook routes.