neue emailtexte ferttig!

This commit is contained in:
Martin Müller 2014-05-05 18:15:28 +02:00
parent 03a57d8553
commit 55e16d9443
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ class HomeController extends AppController {
if($this->request->is('post')){
$Email = new CakeEmail('dreamjobMain');
$Email->to('service@dream-job.eu');
$Email->from(array($this->request->data['mail']['adresse'] => $this->request->data['mail']['first_name'].' '.$this->request->data['mail']['last_name']));
//$Email->from(array($this->request->data['mail']['adresse'] => $this->request->data['mail']['first_name'].' '.$this->request->data['mail']['last_name']));
$Email->subject('[Dreamjob-Kontakt-Firma]'.$this->request->data['mail']['subject']);
$Email->template('contact');
$Email->viewVars(array('text'=>$this->request->data));