v0.2.6: fix issue with Base64 encoded mail parts #39
wneessen
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
#37 brought up an issue, in which some mail servers would not accept mails sent via go-mail services. They returned
550 Maximum line length exceeded (see RFC 5322 2.1.1)
errors. It turns out, that Go's encoding/base64 does not add line breaks when encoding data. This release adds aBase64LineBreaker
struct, which satisfies the io.WriteCloser interface and makes sure that mail parts, that are base64 encoded, are properly broken up at 76 chars.Noteworthy changes
Base64LineBreaker
This discussion was created from the release v0.2.6: fix issue with Base64 encoded mail parts.
Beta Was this translation helpful? Give feedback.
All reactions