update
This commit is contained in:
@@ -62,8 +62,8 @@ class MailConfigServiceProvider extends ServiceProvider
|
||||
$config = config('mail');
|
||||
$config['default'] = $transport;
|
||||
$config['from'] = [
|
||||
'address' => $mail->user ?? config('mail.from.address', 'no-reply@example.com'),
|
||||
'name' => $company,
|
||||
'address' => $mail->from_address ?? $mail->user ?? config('mail.from.address', 'no-reply@example.com'),
|
||||
'name' => $mail->from_name ?? $company,
|
||||
];
|
||||
$config['mailers'][$transport] = array_merge($config['mailers'][$transport] ?? [], [
|
||||
'transport' => $transport,
|
||||
|
||||
Reference in New Issue
Block a user