final MimeMultipart mp = getMimeMultipart(encodedBytes, headers);
sendMultipartMessage(message, mp);
} catch (final MessagingException e) {
LOGGER.error("Error occurred while sending e-mail notification.", e);
throw new LoggingException("Error occurred while sending email", e);
} catch (final IOException e) {
LOGGER.error("Error occurred while sending e-mail notification.", e);
throw new LoggingException("Error occurred while sending email", e);
} catch (final RuntimeException e) {
LOGGER.error("Error occurred while sending e-mail notification.", e);
throw new LoggingException("Error occurred while sending email", e);
}
}