Home » How to install the email checker API in forms

How to install the email checker API in forms

Transform your registration form into an email checker and prevent the registration of invalid or risky emails.

Diver Uyara

The SafetyMails email checker API allows you to create a code for installation in your forms, preventing the entry of invalid email leads into your database.

By activating this feature, SafetyMails will generate a ready-to-install code for your forms, saving you from leads with invalid or risky emails.

Creating an origin for email verification

Remember that for this real-time email checker API to work, you need to have an activated credit subscription (see how to subscribe).

To start the process, follow these steps:

  • Access your account on SafetyMails (If you don’t have an account, create one now and get 100 free credits).
  • In the top menu, click on “Real-time API.
  • Select the “Standard Installation” option.
  • On the next screen, give a name to the origin (the location where the email verification API will be installed) that you are creating;
  • Register the domain of your form (for example, if your form is at “https://safetymails.com/form,” you should enter only “safetymails.com”);
  • After that, select the option “On a website” from the list of options where you intend to use your email checker API. Now, if your form is on a WordPress site or a landing page platform, choose one of the other options, okay?
  • On the screen that will be displayed, you can configure the permissions for your email verification API for forms, namely:
    • Allowed statuses: define which email statuses you want to accept in your registration forms.
    • Block provider domains: enabling this function will prevent the registration of emails with provider domains, such as Gmail.com, Yahoo.com, among others.
  • By clicking “Finish,” the installation script for the email checker API will be generated and available for use.
  • The details of the created email checker API will be described on this page.

Example code

<script src=’https://optin.safetymails.com/main/safetyscript/28a389f6fd52************29fd837e8ee8c280/safetyoptin.js’></script>

Where to install the code

In your form, paste the script inside the HTML code, in the footer area. This is the ideal option as it ensures that the email verification API is only executed after the page is fully loaded.

If you have any questions, don’t hesitate to reach out to our support team. Contact us via email at [email protected].

More Reading

Post navigation