How can I send a binary output stream as an attachment, without saving the content to a file?

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

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.