Add Reply TO support messaging

This commit is contained in:
David Bomba 2021-05-24 21:31:52 +10:00
parent 4e8ed1e32d
commit 922eaefa34

View File

@ -59,12 +59,13 @@ class SupportMessageSent extends Mailable
$subject = "Customer MSG {$user->present()->name} - [{$plan} - DB:{$company->db}]"; $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 return $this->from(config('mail.from.address'), config('mail.from.name'))
->subject($subject) ->replyTo($user, $user->present()->name())
->markdown('email.support.message', [ ->subject($subject)
'message' => $this->message, ->markdown('email.support.message', [
'system_info' => $system_info, 'message' => $this->message,
'laravel_log' => $log_lines, 'system_info' => $system_info,
]); 'laravel_log' => $log_lines,
]);
} }
} }