// create the root multipart MimeMultipart mpRoot = new MimeMultipart("mixed"); // Add text MimeBodyPart mbp1 = new MimeBodyPart(); mbp1.setText(data); mpRoot.addBodyPart(mbp1); return mpRoot;
return in;
return body;
return docs;
try { return createMimeMultipart("outputMimeMultipart"); } catch (MessagingException me) { throw new java.rmi.RemoteException(me.getMessage(), me); }
return "OutputPlainText";