Add Reply TO support messaging
This commit is contained in:
parent
4e8ed1e32d
commit
922eaefa34
1 changed files with 8 additions and 7 deletions
|
|
@ -59,12 +59,13 @@ class SupportMessageSent extends Mailable
|
|||
|
||||
$subject = "Customer MSG {$user->present()->name} - [{$plan} - DB:{$company->db}]";
|
||||
|
||||
return $this->from(config('mail.from.address'), config('mail.from.name')) //todo this needs to be fixed to handle the hosted version
|
||||
->subject($subject)
|
||||
->markdown('email.support.message', [
|
||||
'message' => $this->message,
|
||||
'system_info' => $system_info,
|
||||
'laravel_log' => $log_lines,
|
||||
]);
|
||||
return $this->from(config('mail.from.address'), config('mail.from.name'))
|
||||
->replyTo($user, $user->present()->name())
|
||||
->subject($subject)
|
||||
->markdown('email.support.message', [
|
||||
'message' => $this->message,
|
||||
'system_info' => $system_info,
|
||||
'laravel_log' => $log_lines,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue