Skip to content

Commit

Permalink
PageSecurityQuestions.java: unused/commented code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
virgo47 committed Nov 24, 2020
1 parent 27b58a7 commit bdb12b0
Showing 1 changed file with 0 additions and 18 deletions.
Expand Up @@ -508,26 +508,8 @@ protected PasswordAuthentication getPasswordAuthentication() {
message.addRecipient(Message.RecipientType.TO, new InternetAddress(receiver));

Transport.send(message);

/*
* Session mailSession = Session.getDefaultInstance(props);
* MimeMessage message = new MimeMessage(mailSession);
*
* message.setSubject("Engerek KYS Yeni Şifreniz");
*
* message.setLocalizableText("User Login : " + userLogin + "\n Password : " +
* password + "\n"); message.setFrom(new InternetAddress(sender));
* message.addRecipient(Message.RecipientType.TO, new
* InternetAddress(receiver)); Transport transport =
* mailSession.getTransport(); transport.connect();
* transport.sendMessage(message,
* message.getRecipients(Message.RecipientType.TO));
* transport.close();
*/
} catch (MessagingException ex) {
LoggingUtils.logUnexpectedException(LOGGER, "Mail send Exception", ex);
}

}

}

0 comments on commit bdb12b0

Please sign in to comment.