=== Email Validation for Elementor Forms (email-validation.org) ===
Tags: email validation, email verification, elementor, elementor forms, form
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
Stable tag: 1.0.1
License: MIT
License URI: https://opensource.org/licenses/MIT

Choose per Elementor form which email check results stop a submission, or turn the check off for one form.

== Description ==

An add-on to **email-validation.org – Email Validation for Forms**, which checks the email fields of every Elementor Pro form when it is submitted, with one set of rules for all forms. This add-on lets each form decide for itself.

In the Elementor editor, the Form widget gets a section **Email validation** in its Content tab:

* **As set under Settings → Email validation** (the default): the main plugin's rules, as for every other form.
* **With this form's own rules**: the statuses you switch on for this form stop it, with this form's message under the field (empty: the main plugin's).
* **Not at all**: the form is never checked; nothing is sent or charged.

Every result is one of five statuses: `valid`, `invalid`, `catch_all`, `unknown` or `disposable`.

* **No second charge.** A form with its own rules is checked once, through the main plugin's checker; a form turned off is not checked at all.
* **Fails open.** When a check cannot be done (the API slow or out of reach, no credits), the main plugin's setting decides; by default the form goes through. A check waits at most 10 seconds and is never retried.
* **Nothing stored.** Each form's rules are settings of its Form widget, saved by Elementor with the page. The add-on keeps no option, file or log of its own.
* **Your API key stays where the main plugin keeps it.** This add-on has no key field of its own and never shows, logs or sends the key anywhere but to the API.

This add-on does not check the submissions Elementor has already stored: Elementor offers no documented way for another plugin to read them.

= Requirements =

* Elementor Pro (the Form widget is part of it), with Elementor.
* email-validation.org – Email Validation for Forms 1.1.2 or later, with an API key.

== Installation ==

1. Install and activate Elementor, Elementor Pro and email-validation.org – Email Validation for Forms, and set your API key under Settings → Email validation.
2. Install and activate this add-on.
3. Edit a page with a Form widget in Elementor, select the form, open Content → Email validation, choose how the form is checked and update the page.

== Frequently Asked Questions ==

= Is every submission checked twice now? =

No. A form that follows the main plugin is checked by the main plugin only. A form with its own rules is checked by this add-on only, through the main plugin's checker. A form turned off is not checked.

= Do my existing forms change? =

No. A form you have not changed in the new section follows the main plugin, as before.

= What happens when the API is slow or out of reach? =

The main plugin's setting decides, for forms with their own rules too: by default the form goes through.

= Can it check the submissions I already have? =

No. Export them from Elementor → Submissions as a CSV file and upload it as a bulk list on email-validation.org.

= What happens when I uninstall it? =

Nothing to remove: the add-on stores nothing of its own. Each form's settings stay in the page (Elementor ignores them without the add-on), and every form follows the main plugin again.

== External services ==

This add-on sends email addresses to the email-validation.org API to check them, through the main plugin:

* **What is sent:** the address submitted in an email field of a form with its own rules. Your API key goes in the request header. Nothing else about the submission or the visitor.
* **When:** when a visitor submits a form with its own rules (forms that follow the main plugin are sent by the main plugin, as it describes).
* **Where:** `https://api.email-validation.org`, or `https://api-eu.email-validation.org` when EU data residency is chosen in email-validation.org – Email Validation for Forms.

The service is provided by email-validation.org: [Terms of Service](https://email-validation.org/legal/terms/), [Privacy Policy](https://email-validation.org/legal/privacy/).

== Changelog ==

= 1.0.1 =

* Needs email-validation.org – Email Validation for Forms 1.1.2 or later, which never hands back a value that quotes the API key.
* The main plugin is named by its new name, email-validation.org – Email Validation for Forms.

= 1.0.0 =

* First release: per-form rules in the Elementor Form widget (follow the main plugin, own statuses and message, or off).
