mail appplication id
This commit is contained in:
parent
7e0541e02d
commit
f39ed5d9f9
|
@ -40,7 +40,7 @@ class DreamjobJobApplication extends AppModel {
|
||||||
$Email->to($mail);
|
$Email->to($mail);
|
||||||
$Email->subject('Welcome to our really cool thing');
|
$Email->subject('Welcome to our really cool thing');
|
||||||
$Email->template('job_application');
|
$Email->template('job_application');
|
||||||
$Email->viewVars(array('app_id'=>$id));
|
$Email->viewVars(array('id'=>$id));
|
||||||
return $Email->send();
|
return $Email->send();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ class DreamjobJobMsg extends AppModel {
|
||||||
$Email->to($mail);
|
$Email->to($mail);
|
||||||
$Email->subject('Welcome to our really cool thing');
|
$Email->subject('Welcome to our really cool thing');
|
||||||
$Email->template('job_application_msg');
|
$Email->template('job_application_msg');
|
||||||
$Email->viewVars(array('app_id'=>$id));
|
$Email->viewVars(array('id'=>$id));
|
||||||
return $Email->send();
|
return $Email->send();
|
||||||
}
|
}
|
||||||
public function sendMessage(){
|
public function sendMessage(){
|
||||||
|
|
Loading…
Reference in New Issue