public function sendActivationMail()
 {
     if ($this->_sendMails) {
         $row = $this->getModel()->getKwfUserRowById($this->id);
         $mail = new Kwf_User_Mail_Activation($row);
         $mail->send();
         $this->writeLog('user_mail_UserActivation');
     }
 }
Esempio n. 2
0
 public function sendActivationMail()
 {
     if ($this->_sendMails) {
         $row = $this->getModel()->getKwfUserRowById($this->id);
         $mail = new Kwf_User_Mail_Activation($row);
         $mail->send();
         $this->getModel()->writeLog(array('user_id' => $this->id, 'message_type' => 'user_mail_UserActivation'));
     }
 }