About Email Verification

E-Mail Verification and Domain Validation via API. Checks an email address against blacklist and availability of mailhost. Blacklisted domains and email addresses are simply stored in a text file. Easy to edit.

Category 1Input Fields
Inputfield modules that provide a UI input widget in the ProcessWire admin.
Category 2Other Modules
Modules that have a unique purpose not covered by existing categories.
Category 3Users and Access
Modules dealing with access in ProcessWire via Users, Roles or Permissions.
Release StateStable
Should be safe for use in production environments. *
Module Version1.1.3
Class NameEmailVerification
Compatibility2.4, 2.5, 2.6, 2.7
Date AddedOctober 13, 2014
Last UpdatedFebruary 12, 2017
Recommended ByNew recommendations may take up to 1 day to appear.


This module's files should be placed in /site/modules/EmailVerification/
How to install or uninstall modules



Provides API for E-Mail and Domain Verification. Options:

  • Check email address against blacklist (editable textfile pulled from service mogelmail.de updated weekly)
  • Check availability of mailhost. (MX and A Resource Record)
  • Validate Top Level Domain. (list of TLDs (punycode) pulled from IANA stored in local textfile, updated monthly)
  • Validate Domainname (Syntax)
  • Validate Hostname (Syntax)

Blacklisted domains are listed in an easy to edit text file mogelmails.txt which is stored in the repository of this module.


$mailcheck = $modules->get('EmailVerification');

$mailcheck->getTLDs(cycle=2592000) // get Array of punycoded TLDs, cyclic updated
$mailcheck->validDomainName(domain); // return bool
$mailcheck->validHostName(host); // return bool/ string
$mailcheck->blacklisted(email|domain) // return bool/ string
$mailcheck->hostavailable(email|domain) // return bool

$mailcheck->addToBlacklist(email|domain) // add single value
$mailcheck->add(string,replace=false) // create, overwrite, update blacklist, single or multiple value
$mailcheck->clean() // cleanup blacklist file (remove empty strings & duplicates, sort)




kixe (Christoph Thelen)


No comments yet. Be the first to post!

Post a Comment

Your e-mail is kept confidential and not included with your comment. Website is optional.