Skip to main content

frontmail 0.1.0 copy "frontmail: ^0.1.0" to clipboard
frontmail: ^0.1.0 copied to clipboard

Send emails from Flutter and Dart apps through your Frontmail templates with the public key – retries with idempotency, delivery status and Cloudflare Turnstile helpers.

Changelog #

All notable changes to the Frontmail Dart/Flutter SDK (frontmail on pub.dev). Versions are released from git tags vX.Y.Z.

0.1.0 #

Initial release.

  • Frontmail client (public key only – sk_… keys are refused): send(templateId:, params:, serviceId:, options:) with JSON params (DateTime and toJson() objects included), attachments, Turnstile token, template language (SendOptions.locale).
  • status(messageId:, statusToken:) – delivery status via the X-Frontmail-Status-Token header.
  • Frontmail.fetchPublicConfig(apiUrl:) / publicConfig() – cached public configuration (shared mobile Turnstile key).
  • Retries for network errors, timeouts, 5xx and 429 (exponential backoff with full jitter, Retry-After up to 60 s), one idempotency key per send, per-attempt timeout, abortTrigger.
  • FrontmailException with code, message, status, docsUrl, details, retryAfter and category checks.
  • Turnstile helpers for webview_flutter: inline widget page, message parsing, navigation guard, site resolution (shared key or your own).
  • Pure Dart (http only): Android, iOS, macOS, Windows, Linux, web and Dart on the server.
0
likes
160
points
71
downloads

Documentation

Documentation
API reference

Publisher

verified publisherfrontmail.dev

Weekly Downloads

Send emails from Flutter and Dart apps through your Frontmail templates with the public key – retries with idempotency, delivery status and Cloudflare Turnstile helpers.

Homepage
Repository (GitHub)
View/report issues

Topics

#email #form #turnstile #api-client

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on frontmail