=== AddonLogic Form Autoresponder ===
Contributors: snehalpancholi
Tags: form, autoresponder, confirmation email, Contact Form 7, WPForms
Requires at least: 6.0
Tested up to: 6.7
Stable tag: 1.0.0
Requires PHP: 8.1
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically send a confirmation email to the person who submitted a form — works with Contact Form 7, WPForms, Gravity Forms, and Ninja Forms.

== Description ==

When someone fills in a form on your site, send them an instant personalised reply — confirming their submission, sharing next steps, or delivering a lead magnet.

**Supported form plugins**

* Contact Form 7
* WPForms
* Gravity Forms
* Ninja Forms

**Features**

* Per-form rules with enable/disable toggles.
* Custom From name, From email, subject, and HTML body.
* Merge tags: {name} {email} {site_name} {site_url} {date} {field:key}.
* Optional BCC to the site admin.
* Fallback email-field auto-detection (scans all submitted fields for an email value).
* Responsive HTML email wrapper.

== Installation ==

1. Upload the `form-autoresponder` folder to `/wp-content/plugins/`.
2. Activate via **Plugins → Installed Plugins**.
3. Go to **Settings → Form Autoresponder**.
4. Click **+ Add Rule**, configure, and save.

== Frequently Asked Questions ==

= How do I find the form ID for Contact Form 7? =
Edit the form in WordPress. The ID is shown in the URL: `post=123` — the number is the form ID.

= What is the "email field key"? =
The name attribute of the email input. In CF7, it is the tag name (e.g. `your-email`). In WPForms, it is the field label converted to lowercase with spaces replaced by hyphens.

= Can I use HTML in the message body? =
Yes. The body is run through `wp_kses_post` and then wrapped in a minimal responsive HTML shell.

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
