Jump to content

How to use email address is verified or not

Recommended Posts


i am want to know that what client email address is verified or not.

Note: i am want to check by custom php template not by smarty.

right now i am using Local API method but its dont return that user mail address is verified.


use WHMCS\ClientArea;
use WHMCS\Database\Capsule;

define('CLIENTAREA', true);

require __DIR__ . '/init.php';

$ca = new ClientArea();

$user_id = $_SESSION['uid'];  

$command = 'GetClientsDetails';
$postData = array(
    'clientid' => $user_id,
    'stats' => true,

$results = localAPI($command, $postData);

echo '<pre>';
echo '</pre>';


if any one can help then it will be really very help full.



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.


Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated