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

Fix the Charset values in the SES mailer #19

Merged
merged 1 commit into from
Apr 24, 2023
Merged

Conversation

Changaco
Copy link
Contributor

The standard name is UTF-8. The dash-less variant utf8 does not exist in the IANA registry, so it might not be understood by all email clients. I'm thinking that this irregularity could be the cause of liberapay/liberapay.com#2239. The example in boto3's documentation uses UTF-8.

The standard name is `UTF-8`. The dash-less variant `utf8` does not exist in [the IANA registry](https://www.iana.org/assignments/character-sets/character-sets.xhtml), so it might not be understood by all email clients. I'm thinking that this irregularity could be the cause of <liberapay/liberapay.com#2239>. The [example in boto3's documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ses/client/send_email.html) uses `UTF-8`.
@jpsca
Copy link
Owner

jpsca commented Apr 24, 2023

Wow. Nice catch. Thank you

@jpsca jpsca closed this Apr 24, 2023
@Changaco
Copy link
Contributor Author

Did you accidentally close this instead of merging it?

@jpsca jpsca reopened this Apr 24, 2023
@jpsca jpsca merged commit 548a802 into jpsca:main Apr 24, 2023
@Changaco Changaco deleted the patch-1 branch April 24, 2023 16:07
@jpsca
Copy link
Owner

jpsca commented Apr 24, 2023

BTW, I just published a new release (v2.3) with the fix

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

2 participants