diff --git a/src/Illuminate/Mail/MailManager.php b/src/Illuminate/Mail/MailManager.php index 80cab9856388..ea530c83fe82 100644 --- a/src/Illuminate/Mail/MailManager.php +++ b/src/Illuminate/Mail/MailManager.php @@ -303,7 +303,7 @@ protected function addSesCredentials(array $config) protected function createResendTransport(array $config) { return new ResendTransport( - Resend::client($this->app['config']->get('services.resend.key')), + Resend::client($config['key'] ?? $this->app['config']->get('services.resend.key')), ); }