update v1.0.6.2

This commit is contained in:
sujitprasad
2016-02-18 20:52:44 +05:30
parent 69f07859aa
commit c4a6a2465f
51 changed files with 16750 additions and 2801 deletions

View File

@@ -973,12 +973,12 @@ class TicketController extends Controller {
// if (Mail::send('emails.pass', ['password' => $password, 'name' => $username, 'from'=>$company,'emailadd' => $emailadd], function ($message) use ($emailadd, $username,$company) {
// $message->to($emailadd, $username)->subject('Welcome to '.$company.' helpdesk');
// })) {
try {
// try {
$this->PhpMailController->sendmail($from = $this->PhpMailController->mailfrom('1', '0'), $to = ['name' => $username, 'email' => $emailadd], $message = ['subject' => 'Welcome to ' . $company . ' helpdesk', 'scenario' => 'registration-notification'], $template_variables = ['user' => $username, 'email_address' => $emailadd, 'user_password' => $password]);
} catch (\Exception $e) {
// } catch (\Exception $e) {
// return 0;
}
// }
// $message->to($emailadd, $username)->subject('Welcome to '.$company.' helpdesk');
// })) {
// need to do something here....