Skip to content

Conversation

@everyx
Copy link
Contributor

@everyx everyx commented Mar 10, 2022

close: #45660

Q A
Branch? 6.0 for bug fixes
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #45660
License MIT
Doc PR

There are non-ASCII characters in the email address—The email address string must be 7-bit ASCII. If you want to send to or from email addresses that contain Unicode characters in the domain part of an address, you must encode the domain using Punycode. Punycode is not permitted in the local part of the email address (the part before the @ sign) nor in the "friendly from" name. If you want to use Unicode characters in the "friendly from" name, you must encode the "friendly from" name using MIME encoded-word syntax, as described in Sending raw email using the Amazon SES API. For more information about Punycode, see RFC 3492.

- from Amazon SES email sending errors

We have already stringify to addresses, and we should also stringify the from address.

@carsonbot
Copy link

Hey!

I see that this is your first PR. That is great! Welcome!

Symfony has a contribution guide which I suggest you to read.

In short:

Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change.

When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor!
If this PR is merged in a lower version branch, it will be merged up to all maintained branches within a few days.

I am going to sit back now and wait for the reviews.

Cheers!

Carsonbot

@carsonbot carsonbot changed the title fix: stringify from address for ses+api transport [Mailer] fix: stringify from address for ses+api transport Mar 10, 2022
@fancyweb fancyweb modified the milestones: 6.0, 5.4 Mar 10, 2022
@carsonbot
Copy link

Hey!

I think @driesvints has recently worked with this code. Maybe they can help review this?

Cheers!

Carsonbot

Copy link
Contributor

@driesvints driesvints left a comment

Choose a reason for hiding this comment

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

Small code style here.

@fabpot
Copy link
Member

fabpot commented Mar 14, 2022

Thank you @everyx.

@fabpot fabpot merged commit ed9f973 into symfony:5.4 Mar 14, 2022
@fabpot fabpot mentioned this pull request Apr 2, 2022
@fabpot fabpot mentioned this pull request Apr 2, 2022
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.

5 participants