Commit graph

3 commits

Author SHA1 Message Date
e33df7f28b
Minor changes to the Base64LineBreaker
- Renamed the file to a more fitting name
- Added tests for the Write() and Close() methods
2022-08-14 14:45:12 +02:00
ffa1b47cab
Forgot SPDX license header for REUSE 2022-08-14 12:07:59 +02:00
701cbbf399
Fixes a bug with attachments. Hopefully addresses #37 as well
By default, the encoding/base64 in Go does not add line breaks to its output.
This patch introduces the Base64LineBreaker which satisfies the io.WriteCloser interface
Attachments are now correctly broken up into maximum of 76 chars
2022-08-14 12:06:26 +02:00