protected function sendActivationMail($user)
    {
        //Creates the token
        $token = $this->Token->create($user->email, ['type' => 'signup', 'user_id' => $user->id]);

        return $this->getMailer('MeCms.User')
            ->set('url', Router::url(['_name' => 'activation', $user->id, $token], true))
            ->send('activation', [$user]);
    }
protected function sendActivationMail($user)
    {
        //Creates the token
        $token = $this->Token->create($user->email, ['type' => 'signup', 'user_id' => $user->id]);

        return $this->getMailer('MeCms.User')
            ->set('url', Router::url(['_name' => 'activation', $user->id, $token], true))
            ->send('activation', [$user]);
    }
protected function sendActivationMail ( $ user ) { //Creates the token $ token = $ this -> Token -> create ( $ user -> email , [ 'type' => 'signup' , 'user_id' => $ user -> id ] ) ; return $ this -> getMailer ( 'MeCms.User' ) -> set ( 'url' , Router :: url ( [ '_name' => 'activation' , $ user -> id , $ token ] , true ) ) -> send ( 'activation' , [ $ user ] ) ; }
Internal method to send the activation mail
@param MeCms\Model\Entity\User $user User entity
@return bool
@see MeCms\Mailer\UserMailer::activation()
Internal method to send the activation mail