Externe Bewerbung

This commit is contained in:
Martin Müller 2014-09-11 01:33:58 +02:00
parent 12547f0e36
commit 7df3aae54d
1 changed files with 1 additions and 1 deletions

View File

@ -417,7 +417,7 @@ class JobController extends AppController {
$Email->to($this->request->data['DreamjobUser']['mail']); $Email->to($this->request->data['DreamjobUser']['mail']);
$Email->bcc(array($w['User']['mail'])); $Email->bcc(array($w['User']['mail']));
$Email->subject('Bewerbung von '. $w['AppUser']['first_name'] .' '. $w['AppUser']['last_name']); $Email->subject('Bewerbung von '. $w['AppUser']['first_name'] .' '. $w['AppUser']['last_name']);
$Email->template('job_application_ext.ctp'); $Email->template('job_application_ext');
$Email->viewVars(array('data'=>'test')); $Email->viewVars(array('data'=>'test'));
$Email->attachments(array('filename.pdf'=>array('data' =>$pdf,'mimetype' => 'application/pdf'))); $Email->attachments(array('filename.pdf'=>array('data' =>$pdf,'mimetype' => 'application/pdf')));