jordan-wright / email

Robust and flexible email library for Go
MIT License
2.61k stars 324 forks source link

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

Closed bosim closed 3 years ago

bosim commented 3 years ago

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

jordan-wright commented 3 years ago

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.