protected function setVariableValues()
 {
     $this->setVariable('username', $this->user->getUsername());
     $this->setVariable('firstname', $this->user->getFirstName());
     $this->setVariable('lastname', $this->user->getLastName());
     $this->setVariable('newPasswordUrl', $this->url);
     $this->setVariable('newPasswordLink', '<a href="' . $this->fullUrl . '">' . Gpf_Lang::_('To reset your password click here', null, $this->getRecipientLanguage()) . '</a>');
     $this->addRecipient($this->user->getEmail());
 }
Exemplo n.º 2
0
 public function getEmail()
 {
     return $this->authUser->getEmail();
 }
Exemplo n.º 3
0
 private function sendMail(Gpf_Db_AuthUser $user, Gpf_Mail_Template $mail) {
     $userMail = clone $mail;
     $userMail->addRecipient($user->getEmail());
     $userMail->sendNow();
 }