} catch (MailConnectException ex) {
<BUG>throw new ProcessException("Falha de conexão STMP.", ex);
</BUG>
} catch (MessagingException ex) {
<BUG>throw new ProcessException("Falha de conexão STMP.", ex);

} finally {
transport.close();
Server.logTrace("SMTP connection closed.");
}</BUG>
}

} catch (MailConnectException ex) {
throw new ProcessException("Falha de conexão SMTP.", ex);
} catch (MessagingException ex) {
throw new ProcessException("Falha de conexão SMTP.", ex);
} finally {
if (transport.isConnected()) {
transport.close();
Server.logTrace("SMTP connection closed.");
