transport.connect(SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASSWORD);
Server.logTrace("SMTP sending message.");
transport.sendMessage(message, recipients);
Server.logTrace("SMTP message sent.");
} catch (AuthenticationFailedException ex) {
<BUG>throw new ProcessException("Falha de autenticação STMP.", ex);
</BUG>
} catch (MailConnectException ex) {
<BUG>throw new ProcessException("Falha de conexão STMP.", ex);
</BUG>
} catch (MessagingException ex) {

transport.connect(SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASSWORD);
Server.logTrace("SMTP sending message.");
transport.sendMessage(message, recipients);
Server.logTrace("SMTP message sent.");
} catch (AuthenticationFailedException ex) {
throw new ProcessException("Falha de autenticação SMTP.", ex);
} catch (MailConnectException ex) {
throw new ProcessException("Falha de conexão SMTP.", ex);
