Integrations · Websites and CMS

Check form emails on SpinupWP sites

On a SpinupWP site, our WordPress plugin checks the email address a visitor submits before the form is accepted: WPForms, Contact Form 7, Gravity Forms, Elementor forms, Ninja Forms, Fluent Forms, Formidable Forms and the WooCommerce checkout and registration. It is the plugin from the WordPress.org directory, email-validation.org – Email Validation for Forms, installed like any other; this guide adds the SpinupWP way to do it on the command line, as the site's own user.

The plugin needs nothing from the panel beyond WordPress itself. When a check cannot be made (no credits left, the API out of reach), the form goes through by default.

Before you start

  • A WordPress site on a SpinupWP server with WordPress 6.0 or newer and PHP 8.1 or newer (set per site in SpinupWP).
  • An API key for each site. Create one on the API keys page with the permission "Validate addresses" (add "Read balance and usage" to see your balance in WordPress), and give it a daily credit cap.

Install from WordPress

Open the site's WordPress admin, then Plugins → Add Plugin, search for email-validation.org, click Install Now and Activate. Then follow the WordPress guide from step 2: paste the key under Settings → Email validation, click Check the connection, and choose the forms and the results to stop.

Install with WP-CLI

SpinupWP gives each site its own system user, which owns the site's files under /sites/example.com/, and asks you to run WP-CLI as that user. From the site's WordPress folder (/sites/example.com/files for a site whose public folder is the default):

cd /sites/example.com/files
sudo -u example_user wp plugin install email-validation-org --activate

Replace example.com with the site's domain and example_user with its site user. Logged in over SSH as the site user itself, drop the sudo -u example_user. Then paste the key on the plugin's settings page: it is kept on your server and never shown again, and it stays out of your shell history. Or add define( 'EVORG_API_KEY', 'your key' ); to the site's wp-config.php with an editor.

Try it

Try the form with a free test address: accepted@sandbox.email-validation.org goes through and, with the default settings, no_mailbox@sandbox.email-validation.org is stopped; neither costs a credit or contacts a mail server. Use them only on a form that sends no mail to the address it gets: a message to a test address bounces, and bounces hurt your site's sender reputation.

Each check costs at most 1 credit; unknown results, errors and test addresses are free. A form check sends only the address being checked, to https://api.email-validation.org (or https://api-eu.email-validation.org when you pick the EU region, for EU data residency). The WordPress guide covers every setting.

SpinupWP's own documentation: file ownership and WP-CLI and getting started.

More on SpinupWP

Updated · Maintained by: Email Validation LLC

Need help? Contact support, or ask the help chat. Something wrong or missing on this page? Tell us