Skip to content

fix: inner mime type quoted-printable#38

Closed
matoubidou wants to merge 1 commit into
DusanKasan:masterfrom
matoubidou:master
Closed

fix: inner mime type quoted-printable#38
matoubidou wants to merge 1 commit into
DusanKasan:masterfrom
matoubidou:master

Conversation

@matoubidou
Copy link
Copy Markdown

  • multipart.Reader.NextPart() hides the Content-Transfer encoding. Therefor I switched to NextRawPart() and needed to add the decoding to the decodeContent(..) func.
  • I also could have changed the detection of embedded files, sticked to NextPart() and used the mime decoding of multipart itself. I decided against that approach in order to stick close to your implementation.

* [multipart.Reader.NextPart()](https://pkg.go.dev/mime/multipart#Reader.NextPart) hides the Content-Transfer encoding. Therefor I switched to `NextRawPart()` and needed to add the decoding to the `decodeContent(..)` func.
* I also could have changed the detection of embedded files, sticked to `NextPart()` and used the mime decoding of multipart itself. I decided against that approach in order to stick close to your implementation.
PetriTurunen added a commit to PetriTurunen/parsemail that referenced this pull request May 23, 2022
@k3a k3a mentioned this pull request Aug 26, 2023
@k3a k3a mentioned this pull request Sep 2, 2023
@matoubidou
Copy link
Copy Markdown
Author

Closing in favor of #50 (re-submitted from new account)

@matoubidou matoubidou closed this Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant