diff --git a/app/Controller/JobController.php b/app/Controller/JobController.php index 340ce5c..899fe00 100644 --- a/app/Controller/JobController.php +++ b/app/Controller/JobController.php @@ -418,7 +418,7 @@ class JobController extends AppController { $Email->bcc(array($w['User']['mail'])); $Email->subject('Bewerbung von '. $w['AppUser']['first_name'] .' '. $w['AppUser']['last_name']); $Email->template('job_application_ext'); - $Email->viewVars(array('data'=>'test')); + $Email->viewVars(array('w'=>$w)); $Email->attachments(array('filename.pdf'=>array('data' =>$pdf,'mimetype' => 'application/pdf'))); if ($Email->send()) { diff --git a/app/View/Emails/html/job_application_ext.ctp b/app/View/Emails/html/job_application_ext.ctp index fab2204..5632bf4 100644 --- a/app/View/Emails/html/job_application_ext.ctp +++ b/app/View/Emails/html/job_application_ext.ctp @@ -4,7 +4,7 @@ Mit freundlichen Grüßen

Bitte antworten Sie mir unter folgender E-Mail:
-

+

Diese Bewerbung wurde über dreamJOB versendet.
Jetzt kostenlos und bequem dreamJOB testen und Stellen ausschreiben auf www.dream-JOB.eu