original_string: protected function sendActivationEmail()
      {
          $forum = Podium::getInstance()->podiumConfig->get('name');
          $email = Content::fill(Content::EMAIL_REGISTRATION);
          if ($email !== false) {
              $link = Url::to(['account/activate', 'token' => $this->activation_token], true);
              return Email::queue(
                  $this->email,
                  str_replace('{forum}', $forum, $email->topic),
                  str_replace('{forum}', $forum, str_replace('{link}',
                      Html::a($link, $link), $email->content)),
                  !empty($this->id) ? $this->id : null
              );
          }
          return false;
      }
code: protected function sendActivationEmail()
      {
          $forum = Podium::getInstance()->podiumConfig->get('name');
          $email = Content::fill(Content::EMAIL_REGISTRATION);
          if ($email !== false) {
              $link = Url::to(['account/activate', 'token' => $this->activation_token], true);
              return Email::queue(
                  $this->email,
                  str_replace('{forum}', $forum, $email->topic),
                  str_replace('{forum}', $forum, str_replace('{link}',
                      Html::a($link, $link), $email->content)),
                  !empty($this->id) ? $this->id : null
              );
          }
          return false;
      }
code_tokens: protected function sendActivationEmail ( ) { $ forum = Podium :: getInstance ( ) -> podiumConfig -> get ( 'name' ) ; $ email = Content :: fill ( Content :: EMAIL_REGISTRATION ) ; if ( $ email !== false ) { $ link = Url :: to ( [ 'account/activate' , 'token' => $ this -> activation_token ] , true ) ; return Email :: queue ( $ this -> email , str_replace ( '{forum}' , $ forum , $ email -> topic ) , str_replace ( '{forum}' , $ forum , str_replace ( '{link}' , Html :: a ( $ link , $ link ) , $ email -> content ) ) , ! empty ( $ this -> id ) ? $ this -> id : null ) ; } return false ; }
docstring: Sends activation email.
  @return bool
  @since 0.2
docstring_tokens: Sends activation email .