Beispiel #1
0
 public function executeSendPassword()
 {
     $mail = new sfMail();
     $mail->addAddress($this->getRequestParameter('email'));
     $mail->setFrom('Askeet <*****@*****.**>');
     $mail->setSubject('Askeet password recovery');
     $mail->setPriority(1);
     $mail->addEmbeddedImage(sfConfig::get('sf_web_dir') . '/images/askeet_logo.gif', 'CID1', 'Askeet Logo', 'base64', 'image/gif');
     $this->mail = $mail;
     $this->nickname = $this->getRequest()->getAttribute('nickname');
     $this->password = $this->getRequest()->getAttribute('password');
 }