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

Encode name in address if necessary #189

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Awlexus
Copy link

@Awlexus Awlexus commented Jan 31, 2025

Changes proposed in this pull request

Currently address fields like from, to, cc and so on do not encode the name in the address, which causes problems on older email clients. This PR encods the name in the address if necessary.

@andrewtimberlake
Copy link
Collaborator

Please include a test that shows the failing condition and how it is fixed.

@Awlexus
Copy link
Author

Awlexus commented Jan 31, 2025

I've added a test for this scenario now. as for how. I hope this is what you meant, because I am not sure what exactly you mean with the failing condition otherwise 😅

@andrewtimberlake
Copy link
Collaborator

I'm on my phone so I can't check your change right now.
I mean a test that fails if the change isn't there and passes if it is. This ensures that in the future the fix remains fixed.

@Awlexus
Copy link
Author

Awlexus commented Jan 31, 2025

Thanks for the elaboration, the current tests do just that! 👍

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