neue emailtexte ferttig!
This commit is contained in:
parent
03a57d8553
commit
55e16d9443
|
@ -113,7 +113,7 @@ class HomeController extends AppController {
|
||||||
if($this->request->is('post')){
|
if($this->request->is('post')){
|
||||||
$Email = new CakeEmail('dreamjobMain');
|
$Email = new CakeEmail('dreamjobMain');
|
||||||
$Email->to('service@dream-job.eu');
|
$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->subject('[Dreamjob-Kontakt-Firma]'.$this->request->data['mail']['subject']);
|
||||||
$Email->template('contact');
|
$Email->template('contact');
|
||||||
$Email->viewVars(array('text'=>$this->request->data));
|
$Email->viewVars(array('text'=>$this->request->data));
|
||||||
|
|
Loading…
Reference in New Issue