go-gomail / gomail

The best way to send emails in Go.
MIT License
4.33k stars 573 forks source link

Fix to emit at most 76 chars per line #18

Closed akavel closed 9 years ago

akavel commented 9 years ago

From RFC 2045 (and also from looking at other packages), it appears that line length limit is actually 76 characters, not 78. Also, this fixes attachments broken before for a certain webmail client (roundcube).

alexcesaro commented 9 years ago

Thanks I had probably mixed up with the 78 chars limit of RFC 5322.