Skip to content

[Mailer] fix ses+smtp credentials format #15140

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

Merged
merged 1 commit into from
Mar 24, 2021
Merged

Conversation

seferov
Copy link
Contributor

@seferov seferov commented Mar 23, 2021

For ses+smtp(s) mailer uses SMTP username and password instead of AWS access key and secret

https://github.com/symfony/amazon-mailer/blob/4.4/Transport/SesTransportFactory.php#L47

@javiereguiluz
Copy link
Member

@seferov thanks for this contribution. Before merging, let's ask a review from someone who knows AWS (e.g. @Nyholm) Thanks!

Copy link
Member

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @javiereguiluz for the ping.

I agree with this PR.

Using ses+smtp:// will give you the Symfony\Component\Mailer\Bridge\Amazon\Transport\SesSmtpTransport. That is just a "normal" SMTP client. The credentials are username and password.

Thank you @seferov for this correction.

@javiereguiluz
Copy link
Member

Thank you @seferov.

@javiereguiluz javiereguiluz merged commit d9c9923 into symfony:4.4 Mar 24, 2021
@seferov seferov deleted the ses-smtp branch March 24, 2021 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants