jordan-wright / email

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

NewEmailFromReader is not handling multiple To, Cc and Bcc addresses correctly #125

Closed tarmo-randma closed 3 years ago

tarmo-randma commented 3 years ago

In the current version NewEmailFromReader is not handling multiple To, Cc and Bcc addresses as expected.

Eg. For header: To: Jordan Wright jmwright798@gmail.com, also@example.com The API would return ["Jordan Wright jmwright798@gmail.com, also@example.com"] instead of the expected ["Jordan Wright jmwright798@gmail.com", "also@example.com"]

I have submitted https://github.com/jordan-wright/email/pull/124 to fix the issue

jordan-wright commented 3 years ago

Closed via 1d71dd29cc52dd6cf06e925b010fc8502ae95d57