update v1.0.6.2
This commit is contained in:
@@ -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....
|
||||
|
Reference in New Issue
Block a user