Security.addProvider(new BouncyCastleProvider()); MimeBodyPart _mbp = new MimeBodyPart(); _mbp.setText(msg); return _mbp;
MimeBodyPart _mbp = new MimeBodyPart(); _mbp.setContent(mm, mm.getContentType()); return _mbp;
MimeMultipart _mm = new MimeMultipart(); _mm.addBodyPart(makeMimeBodyPart(msg1)); _mm.addBodyPart(makeMimeBodyPart(msg2)); return _mm;