company startseite

This commit is contained in:
Martin Müller 2014-05-04 15:10:09 +02:00
parent f98fbe6470
commit e5ce357f91
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ class HomeController extends AppController {
} }
public function company() { public function company() {
if(false){ 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']));