jhillyerd / enmime

MIME mail encoding and decoding package for Go
MIT License
461 stars 100 forks source link

fix: do not setup MIME headers with the rawContent option set to true #324

Closed jerjako closed 7 months ago

jerjako commented 7 months ago

Hi,

It's an improvement of the RawContent option to skip the function "setupMIMEHeaders" entirely. To avoid adding missing CTE header or try to correct them from the content.

coveralls commented 7 months ago

Coverage Status

coverage: 86.392% (+0.004%) from 86.388% when pulling cb4d1d8b30a0f1bf48bd05e3135ca3f050e22274 on jerjako:fix/raw-content-cte into 3b1b6352b3ff0a03dd6a564d0266d74f3f42924a on jhillyerd:main.