Skip to content

ITC Forms 0.15.6Changelog

Email and webhook deliveries

Email and webhook deliveries run after a successful persisted submission. They are separate from the visitor’s confirmation and use durable delivery records with bounded retries.

Fresh starters include an enabled administrator notification. With no explicit recipient override, it resolves the current valid address from Settings → General → Administration Email Address at delivery time. Its Reply-To header uses submitted data only while the mapped field still has server-side email sanitization and validation; removing that field or changing its type removes or disables the mapping instead of trusting a text-like value.

Submitter confirmation is a separate disabled email feed. It can be mapped automatically only when one eligible email field exists. Once explicitly enabled, it uses the same stable feed key, conditions, queued run records, bounded retries, and safe delivery-history codes as other feeds. Test sends go only to the WordPress administration email and contain synthetic placeholders, never stored submission data.

Prefer environment configuration. For a form key contact:

Terminal window
ITC_FORMS_EMAIL_RECIPIENT_CONTACT='[email protected]'
ITC_FORMS_WEBHOOK_URL_CONTACT='https://example.com/forms'
ITC_FORMS_WEBHOOK_SECRET_CONTACT='unique-secret-from-a-secret-manager'

Webhook URLs must pass WordPress safe-HTTP validation when a form is saved and again at enqueue, process, and configuration-test time. Requests use the safe HTTP client with redirects disabled, a ten-second timeout, and no retained response body. A signing secret adds X-ITC-Signature, the HMAC-SHA256 of the exact body. Prefer a server environment secret; the saved fallback is write-only in authenticated APIs and must never be copied into logs or support output.

X-ITC-Event-ID identifies the durable run. It is unique when one entry has multiple webhook feeds and stays unchanged, together with the exact signed body, across every retry of that run. Receivers should deduplicate this value.

Workers atomically claim due runs. Rejected mail, transport errors, redirects, and non-2xx webhook responses retry automatically. By default they retry after five and ten minutes and fail on the third attempt; you can choose up to five retries. A five-minute recovery task can replace a worker whose 15-minute lease expired. Completion, retry, and failure updates require the current claim token, so the expired worker cannot overwrite its replacement. Delivery remains at-least-once: a worker can send before losing its lease, and email can therefore be duplicated rarely even though only the replacement can finalize the run.

Run records contain entry/provider/feed identifiers, scheduling metadata, and only these built-in error codes: entry_missing, recipient_invalid, mail_rejected, url_invalid, payload_invalid, transport_error, and http_rejected. A run whose extension provider disappeared ends as provider_unavailable; unsafe extension-supplied error text collapses to delivery_error. Runs never contain recipients, destinations, request or response bodies, secrets, or submitted values.

Site Health reports aggregate configuration and terminal-failure counts. Forms → Delivery log shows the safe code for each run. Investigate a failure from that code, destination availability, DNS/TLS, WordPress mail transport, and cron health—not by logging personal submission contents.

The ITC Forms Mailchimp and ITC Forms Slack add-ons ship in the ITC Forms package (enable them under ITC Forms → Add-ons) and register through the same provider API and use the durable delivery history. Their credentials remain in server configuration and never enter form JSON.

  • Mailchimp updates an audience member by the normalized email hash, defaults to double opt-in, supports bounded tags, and requires recorded consent before immediate subscription.
  • Slack supports a restricted incoming webhook or the fixed chat.postMessage bot endpoint, with schema-backed plain-text merge tags.

Webhooks work with Zapier, Make and n8n: point a webhook delivery at the address they give you.

  • Form → Notifications configures administrator and submitter email.
  • Form → Integrations configures Webhook, Mailchimp, Slack and registered external providers for that form.
  • Forms → Integrations manages site-level credentials and connection health.
  • Forms → Delivery log diagnoses execution across forms and providers.
  • Entry → Activity combines safe delivery summaries with other actions for one submission.

Database, hook and migration contracts may retain the term feed; it is not a primary user-facing label.