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

Rely on email.Address.String() to properly format To, From, etc. #132

Merged
merged 1 commit into from
Dec 29, 2020

Conversation

bosim
Copy link
Contributor

@bosim bosim commented Dec 14, 2020

Let golang's builtin routines take care of proper encoding and quotation of display name and adresses.

Let golang's builtin routines take care of proper encoding and
quotation of display name and adresses.
@bosim bosim changed the title properly quote display name of addresses Rely on email.Address.String() to properly format To, From, etc. Dec 16, 2020
@jordan-wright
Copy link
Owner

This seems reasonable to me. I think the original code was written before this was built in to the stdlib (even though that was years ago at this point!).

Thanks for sending this in.

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