User Email Verification
By Marketplace Admin★ ★ ★ ★ ★0 downloads
About this product
Features
Blocks access to client area pages for unverified clients by redirecting them to a verification landing page.
Provides a button to resend the verification email.
Validates first and last name characters during registration and profile edits:
Allowed: letters (any language), spaces, hyphen (-), apostrophe (').
Disallowed: digits, other punctuation and symbols.
Installation
Ensure WHMCS Email Verification is enabled: Configuration > System Settings > General Settings > Security > Enable Email Verification.
Copy the modules/addons/emailverification directory into your WHMCS installation at modules/addons/.
In WHMCS Admin, go to Configuration > System Settings > Addon Modules and activate "Email Verification Enforcement".
How it Works
When an unverified client is logged in, any attempt to access client area pages (except the module landing page, password reset, and logout) will be redirected to index.php?m=emailverification.
The landing page displays instructions and a button to resend the verification email.
Once the email is verified, access is restored automatically.
Name validation is enforced via the ClientDetailsValidation hook and applies to registration, client area edits, and admin edits.
Customization
To adjust which pages are allowed without verification, edit modules/addons/emailverification/hooks.php and modify $allowedFilenames and the module page check.
To change allowed name characters, update $namePattern in the ClientDetailsValidation hook.
Notes
WHMCS does not natively block logins for unverified users. This addon implements page-level enforcement and a verification UX.
If you support additional routes for verification, whitelist them similarly to the module page.
Blocks access to client area pages for unverified clients by redirecting them to a verification landing page.
Provides a button to resend the verification email.
Validates first and last name characters during registration and profile edits:
Allowed: letters (any language), spaces, hyphen (-), apostrophe (').
Disallowed: digits, other punctuation and symbols.
Installation
Ensure WHMCS Email Verification is enabled: Configuration > System Settings > General Settings > Security > Enable Email Verification.
Copy the modules/addons/emailverification directory into your WHMCS installation at modules/addons/.
In WHMCS Admin, go to Configuration > System Settings > Addon Modules and activate "Email Verification Enforcement".
How it Works
When an unverified client is logged in, any attempt to access client area pages (except the module landing page, password reset, and logout) will be redirected to index.php?m=emailverification.
The landing page displays instructions and a button to resend the verification email.
Once the email is verified, access is restored automatically.
Name validation is enforced via the ClientDetailsValidation hook and applies to registration, client area edits, and admin edits.
Customization
To adjust which pages are allowed without verification, edit modules/addons/emailverification/hooks.php and modify $allowedFilenames and the module page check.
To change allowed name characters, update $namePattern in the ClientDetailsValidation hook.
Notes
WHMCS does not natively block logins for unverified users. This addon implements page-level enforcement and a verification UX.
If you support additional routes for verification, whitelist them similarly to the module page.
