How can I send a binary output stream as an attachment, without saving the content to a file?
Created May 7, 2012
John Zukowski You need to encode the content so that it is 7-bit safe. Use MimeUtility.encode(OutputStream stream, String encoding) to encode the content