Skip to content

Conversation

@andreluizmicro
Copy link
Contributor

@andreluizmicro andreluizmicro commented Oct 8, 2025

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?

---

### 💬 **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?
@github-actions
Copy link

github-actions bot commented Oct 8, 2025

Thank you for your pull request. However, you have submitted this PR on the friendsofhyperf organization which is a read-only sub split of friendsofhyperf/components. Please submit your PR on the https://github.com/friendsofhyperf/components repository.

Thanks!

@github-actions github-actions bot closed this Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant