jordan-wright / email

Robust and flexible email library for Go
MIT License
2.65k stars 321 forks source link

#147 Proper handling of utf-8 characters in reply-to headers #148

Open tarmo-randma opened 3 years ago

tarmo-randma commented 3 years ago

This PR aims to resolve #147.

Most e-mail headers got proper character encoding handling with PR #132. Unfortunately that change missed that the reply-to header was not treated as an address but as a regular header. As a result it did not get the same kind of handling as the from, to, cc and bcc headers.

This PR extends the same functionality also to the Reply-To header. It also adds corresponding tests and updates the project github workflow to work with Go 1.16 even without a go.mod file