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

Fixed an issue where From address was being encoded as a tuple on some email backends #3551

Merged
merged 4 commits into from
May 17, 2023

Conversation

mauromsl
Copy link
Member

@mauromsl mauromsl commented May 17, 2023

With this PR we always sanitize the from address before handing it over to the email backend. This will be a redundant call for some backends but will stop the bad encoding on others.

It also avoids sending an empty reply_to header as some very old SMTP servers could have trouble with this.

As a bonus, I added an additional service to docker-compose that allows running the development server against a very simple SMTP server when using the DEBUG_SMTP flag (e.g: DEBUG_SMTP=1 make run

closes #3545

@mauromsl mauromsl requested a review from ajrbyers May 17, 2023 11:10
@ajrbyers ajrbyers merged commit 84264b5 into b_1_5_0 May 17, 2023
@ajrbyers ajrbyers deleted the 3545-email-sanitize-bugfix branch May 17, 2023 11:13
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.

2 participants