The Encoder library is a Java library that provides the email attachment encoding functionality used in JVMail.
Encoder provides classes to enable encoding email attachments as either 7-bit, 8-bit or Base64 MIME encoding.
To allow for maximum usage, Encoder is released under the Lesser GNU Public Licence. Also, API documentation is available for download.