Skip to content

Commit

Permalink
Merge pull request #3 from 0xc0d/patch-2
Browse files Browse the repository at this point in the history
Add 8bit and binary decoding support
  • Loading branch information
k3a committed Aug 26, 2023
2 parents 2a42737 + 821a55a commit 1b45663
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 @@ -357,7 +357,7 @@ func decodeContent(content io.Reader, encoding string) (io.Reader, error) {
}

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

0 comments on commit 1b45663

Please sign in to comment.