This commit is contained in:
Martin Müller 2014-06-16 01:34:06 +02:00
parent e8a2ec9ac5
commit 0fba62a9f1
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ class User extends AppModel {
$Email->template('password_reset');
$key = substr($data['User']['code'],2);
$Email->viewVars(array('data'=>$data,'key'=>$key));
$Email->attachments(array('dak.jpg' => WWW_ROOT.DS.'mail'.DS.'dak.jpg'));
return $Email->send();
}
public function sendDelete($data){