Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Change max line length to 76
Browse files Browse the repository at this point in the history
Fixes issue 13 regarding Barracuda spam filter blocking emails with
line lengths longer than 76 characters.
  • Loading branch information
jpoehls committed Sep 24, 2014
1 parent e78d63e commit 6777a7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions base64mime.go
Expand Up @@ -8,9 +8,9 @@ import (

var delimiter = []byte("\r\n") // CRLF

// Lines should be no longer than 78 characters excluding the CRLF.
// See RFC 2822.
const maxLength = 78
// Lines should be no longer than 76 characters excluding the CRLF.
// See RFC 2045 and GitHub Issue #13.
const maxLength = 76

// splittingWriter is an io.WriteCloser that delimits
// the written data into fixed length chunks using
Expand Down

0 comments on commit 6777a7a

Please sign in to comment.