mm.buildMimeMessage(); return mm.getMimeMessage();
/** * Does the work of actually building the MimeMessage. Please note that * a user rarely calls this method directly and only if he/she is * interested in the sending the underlying MimeMessage without * commons-email. * * @throws EmailException if there was an error. * @since 1.0 */ @Override public void buildMimeMessage() throws EmailException { try { build(); } catch (final MessagingException me) { throw new EmailException(me); } super.buildMimeMessage(); }
/** * Does the work of actually building the MimeMessage. Please note that * a user rarely calls this method directly and only if he/she is * interested in the sending the underlying MimeMessage without * commons-email. * * @throws EmailException if there was an error. * @since 1.0 */ @Override public void buildMimeMessage() throws EmailException { try { build(); } catch (final MessagingException me) { throw new EmailException(me); } super.buildMimeMessage(); }
mm.buildMimeMessage(); return mm.getMimeMessage();