WP Manifestindependent plugin directory
manifest / forms / wp-agilemail-form

WP AgileMail Form

WP AgileMail Form is a small WordPress plugin that publishes a contact page (name, email, phone, message) with a lightweight anti-spam check

by Marcos V Bohrer · github.com/agilehost/wp-agilemail-form · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/agilehost/wp-agilemail-form/archive/refs/heads/main.zip

Readme

WP AgileMail Form

A small WordPress plugin that publishes a ready-to-use contact page with a form (name, email, phone, message) and a lightweight anti-spam check. On activation it creates a published page (default slug contact-us) containing the form shortcode. Submissions are emailed via wp_mail() and stored for review in the admin.

It is the companion to WP AgileMail SMTP: because it sends through wp_mail(), submissions are routed through your SMTP configuration when that plugin is active.

Features

  • Contact page created automatically on activation (slug configurable in admin).
  • Fields: name, email, phone, message.
  • Lightweight bot protection:
    • a math question (e.g. 3 + 5 = ?) verified server-side;
    • a hidden honeypot field;
    • a WordPress nonce;
    • a signed time-trap that drops submissions arriving implausibly fast;
    • an optional per-IP rate limit (default 5/hour);
    • an optional spam blocklist (banned words/emails, silently discarded);
    • and a single ~5-line inline script for instant feedback (the only JavaScript used — server validation is authoritative, so the form still works with JavaScript disabled).
  • Optional auto-reply confirmation email to the visitor.
  • Optional privacy-consent checkbox (LGPD/GDPR), with a configurable policy link, re-checked on the server.
  • Optional custom success/error redirect pages (otherwise an inline notice is shown).
  • Submissions emailed to a configurable recipient (defaults to the site admin email) and stored (last 100) for review under Settings → AgileMail Form, with each message expandable to its full text.
  • Available in English, Spanish (es_ES) and Brazilian Portuguese (pt_BR).

Installation

  1. Copy this folder into wp-content/plugins/.
  2. Activate WP AgileMail Form in the Plugins screen. A "Contact Us" page is created at /contact-us.
  3. (Optional) Go to Settings → AgileMail Form to change the page slug, recipient email, subject, success message, anti-spam rate limit, auto-reply, privacy consent, spam blocklist, success/error redirect pages, and the uninstall cleanup option.

Usage

The page created on activation already contains the shortcode. To place the form on any other page or post, use:

[agilemail_contact_form]

Internationalization

Source strings are in English. Translations ship for es_ES and pt_BR in the languages/ directory. The plugin loads them based on the site language (Settings → General → Site Language). To add or update a translation, edit the matching .po file and recompile its .mo:

msgfmt languages/WP-AgileMail-Form-es_ES.po -o languages/WP-AgileMail-Form-es_ES.mo

Uninstall

Deactivating the plugin preserves all data. Deleting it removes the settings, stored submissions and the contact page only if "Delete on uninstall" is enabled on the settings page.

License

Apache License 2.0. See LICENSE.

Read the full README on GitHub →