Skip to content

Commit

Permalink
Add 8bit and binary decoding support DusanKasan#37
Browse files Browse the repository at this point in the history
  • Loading branch information
PetriTurunen committed Sep 18, 2021
1 parent 37dc7e0 commit 54c98c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsemail.go
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ func decodeContent(content io.Reader, encoding string) (io.Reader, error) {
}

return bytes.NewReader(b), nil
case "7bit":
case "7bitt", "8bit", "binary":
dd, err := ioutil.ReadAll(content)
if err != nil {
return nil, err
Expand Down

0 comments on commit 54c98c4

Please sign in to comment.