os.write(((String)obj).getBytes());
MimeMultipart mp = (MimeMultipart) obj; try { mp.writeTo(os); } catch (MessagingException e) { throw (IOException) new IOException(e.getMessage()).initCause(e); }
        public void writeTo(Object obj, String mimeType, OutputStream os) throws IOException {            os.write(((String)obj).getBytes());        }