Swoosh adapter for Cloudflare Email Service REST API.
Configuration
config :my_app, MyApp.Mailer,
adapter: Swoosh.Adapters.Cloudflare,
api_token: System.get_env("CLOUDFLARE_EMAIL_TOKEN"),
account_id: System.get_env("CLOUDFLARE_ACCOUNT_ID")Limitations
- New accounts can only send to verified addresses. Paid plans unlock general sending.
- The
fromaddress must belong to a domain with Email Routing active in the Cloudflare account. - Maximum 50 recipients per email.
- Maximum message size: 5 MiB.
Summary
Functions
Callback implementation for Swoosh.Adapter.validate_config/1.
Callback implementation for Swoosh.Adapter.validate_dependency/0.
Functions
Callback implementation for Swoosh.Adapter.validate_config/1.
Callback implementation for Swoosh.Adapter.validate_dependency/0.