wneessen / go-mail

📧 Easy to use, yet comprehensive library for sending mails with Go
https://go-mail.dev
MIT License
567 stars 44 forks source link

Add 7bit support for EML parsing #270

Closed wneessen closed 1 month ago

wneessen commented 1 month ago

This PR enhances the EML parsing to handle 7bit (and partly 8bit) content transfer encodings - especially in multi-part messages. Updated related test cases to verify the correct handling of these encodings. This ensures compliance with RFC2045.

This PR closes #262

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 85.71429% with 2 lines in your changes missing coverage. Please review.

Project coverage is 85.41%. Comparing base (b4acaf1) to head (ed93e51).

Files Patch % Lines
eml.go 85.71% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #270 +/- ## ========================================== + Coverage 85.22% 85.41% +0.18% ========================================== Files 25 25 Lines 2058 2070 +12 ========================================== + Hits 1754 1768 +14 + Misses 178 177 -1 + Partials 126 125 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.