Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] Allow multiple SES configuration with IAM Role authentication #37523

Merged
merged 1 commit into from May 31, 2021

Conversation

alustau
Copy link
Contributor

@alustau alustau commented May 28, 2021

When trying to use multiple mailers with ses as the transport, Laravel is trying to rely on the secret key to decide whether to use a local configuration (within mailers) or a global configuration (at services.ses). However, IAM Role-based authentication (assume role) doesn't require any key or secret to be present, which makes Laravel fallback to the global configuration and the mailer loses all 'local' configuration.

This pull request will broaden the usage of specific mailer configuration, but still allow fallback to global configuration through the array_merge execution preference

Co-authored-by: Marco Deleu <deleugyn@gmail.com>
@alustau alustau changed the title Allow multiple SES configuration with IAM Role authentication [8.x] Allow multiple SES configuration with IAM Role authentication May 28, 2021
@taylorotwell taylorotwell merged commit 9b338a4 into laravel:8.x May 31, 2021
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.

None yet

3 participants