src/Mailer/UserMailer.php
public function verifyEmail(User $user, $token)
    {
        $this->_prepareEmail($user, __d('wasabi_core', 'Verify your email address'));
        $this->_email->template('Wasabi/Core.User/verify');
        $this->_email->viewVars([
            'user' => $user,
            'verifyEmailLink' => [
                'plugin' => 'Wasabi/Core',
                'controller' => 'Users',
                'action' => 'verifyByToken',
                'token' => $token
            ],
            'instanceName' => Wasabi::getInstanceName()
        ]);
    }
public function verifyEmail(User $user, $token)
    {
        $this->_prepareEmail($user, __d('wasabi_core', 'Verify your email address'));
        $this->_email->template('Wasabi/Core.User/verify');
        $this->_email->viewVars([
            'user' => $user,
            'verifyEmailLink' => [
                'plugin' => 'Wasabi/Core',
                'controller' => 'Users',
                'action' => 'verifyByToken',
                'token' => $token
            ],
            'instanceName' => Wasabi::getInstanceName()
        ]);
    }
public function verifyEmail ( User $ user , $ token ) { $ this -> _prepareEmail ( $ user , __d ( 'wasabi_core' , 'Verify your email address' ) ) ; $ this -> _email -> template ( 'Wasabi/Core.User/verify' ) ; $ this -> _email -> viewVars ( [ 'user' => $ user , 'verifyEmailLink' => [ 'plugin' => 'Wasabi/Core' , 'controller' => 'Users' , 'action' => 'verifyByToken' , 'token' => $ token ] , 'instanceName' => Wasabi :: getInstanceName ( ) ] ) ; }
Send a "verify" email to the user, so that he can verify his email address.

@param User $user The user who should verify his email address.
@param string $token The verification token.
@return void
Send a verify email to the user so that he can verify his email address .