mail msg
This commit is contained in:
parent
67af9ec9df
commit
04a8dd8383
|
@ -59,9 +59,9 @@ class DreamjobJobMsg extends AppModel {
|
|||
$app = $this->DreamjobJobApplication->find('first', array('conditions' => array('DreamjobJobApplication.id' => $result["DreamjobJobMsg"]["application_id"])));
|
||||
|
||||
if ($this->fromcompany)
|
||||
$result = self::sendMail($app['WorkerUser']['mail'], $this->application_id, array('User' => $app['WorkerUser'], 'AppUser' => $app['AppUserWorker']));
|
||||
$result = self::sendMail($app['WorkerUser']['mail'], $this->application_id, array('User' => $app['WorkerUser'], 'AppUser' => $app['AppUserWorker']),true);
|
||||
else
|
||||
$result = self::sendMail($app['User']['mail'], $this->application_id, array('DreamjobCompany' => $app['DreamjobCompany']), true);
|
||||
$result = self::sendMail($app['User']['mail'], $this->application_id, array('DreamjobCompany' => $app['DreamjobCompany']));
|
||||
}
|
||||
if ($result) {
|
||||
$dataSource->commit();
|
||||
|
|
Loading…
Reference in New Issue