externe bewerbung Formulat

This commit is contained in:
Martin Müller 2014-08-16 13:09:57 +02:00
parent d76de46eb6
commit b26b449dd6
1 changed files with 1 additions and 0 deletions

View File

@ -415,6 +415,7 @@ class JobController extends AppController {
$Email = new CakeEmail('dreamjobMain'); $Email = new CakeEmail('dreamjobMain');
$Email->to($this->request->data['DreamjobUser']['mail']); $Email->to($this->request->data['DreamjobUser']['mail']);
$Email->bcc(array($w['User']['mail']));
$Email->subject(__('dreamjob.application.extern')); $Email->subject(__('dreamjob.application.extern'));
$Email->template('simple_message'); $Email->template('simple_message');
$Email->viewVars(array('data'=>'test')); $Email->viewVars(array('data'=>'test'));