From 25b5a44851b1ef9e0fe4fd251c73517d65752857 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Luiz?= <51085904+andreluizmicro@users.noreply.github.com> Date: Wed, 8 Oct 2025 17:21:13 -0300 Subject: [PATCH] fix(mail): add missing `scheme` configuration to SMTP mailer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ### 💬 **Resumo para PR (caso crie um Pull Request)** **Title:** > fix(mail): add missing `scheme` configuration to SMTP mailer **Body:** > The default mail.php stub was missing the `scheme` configuration key, which > causes an error when using the SMTP transport. > > This PR adds `'scheme' => env('MAIL_SCHEME', 'smtp')` to the default mailer > configuration to prevent the runtime exception: > > ``` > Mailer problem: scheme is not supported; supported schemes for mailer "smtp" are: "smtp", "smtps" > ``` --- Quer que eu te ajude a montar o **diff completo** (a alteração exata no `mail.php`) pra você copiar e colar no editor do GitHub antes de commitar? --- publish/mail.php | 1 + 1 file changed, 1 insertion(+) diff --git a/publish/mail.php b/publish/mail.php index 5822f31..e139995 100644 --- a/publish/mail.php +++ b/publish/mail.php @@ -55,6 +55,7 @@ 'password' => env('MAIL_PASSWORD'), 'timeout' => null, 'local_domain' => env('MAIL_EHLO_DOMAIN'), + 'scheme' => 'smtp', ], 'ses' => [