Integrations · Websites and CMS

Check form emails on Cloudways WordPress apps

On a Cloudways WordPress app, 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 Cloudways way to do it over SSH, for one app or many.

The plugin needs nothing from Cloudways 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 app on Cloudways with WordPress 6.0 or newer and PHP 8.1 or newer (the app's PHP version is a server setting in Cloudways).
  • 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 app'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 over SSH

Cloudways installs WP-CLI on its servers. Connect over SSH with your server's master credentials, or with the app's own SSH/SFTP credentials once SSH is turned on for that app user (Cloudways shows both in the platform: the master credentials under the server, the app's under the application). Then go to the folder that holds wp-config.php, which is the app's public_html:

cd ~/applications/<app folder>/public_html   # with the master credentials; check with pwd
wp plugin install email-validation-org --activate

The app folder's name is the one Cloudways shows in the application's details (check it with ls ~/applications). With an app's own credentials you may already be in public_html: run pwd to see. Repeat for each app; WordPress then offers the plugin's updates as for any directory plugin.

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 app's wp-config.php with an editor.

Then 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.

What it costs and what it sends

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, the bulk clean of your existing users and customers, and the visitor limits.

Cloudways' own documentation on SSH and WP-CLI is in its support center.

More on Cloudways

Updated · Maintained by: Email Validation LLC

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