public void sendMail(MimeMessage mimeMessage) throws MailException, MessagingException {
        final String subject = mimeMessage.getSubject();
        LOG.debug("Sending a mail (mime) with subject '" + subject + "'");
        mailSender.send(mimeMessage);
        LOG.debug("Successfully sent mail (mime)");
    }
public void sendMail ( MimeMessage mimeMessage ) throws MailException , MessagingException { final String subject = mimeMessage . getSubject ( ) ; LOG . debug ( "Sending a mail (mime) with subject '" + subject + "'" ) ; mailSender . send ( mimeMessage ) ; LOG . debug ( "Successfully sent mail (mime)" ) ; }
@param mimeMessage
@throws MessagingException