9293949596979899100101102
mailProps.setProperty("mail.smtp.from", mail.getBounceAddress()); } if (useMailAuthenticator) { mailSession = Session.getInstance(mailProps, new SMTPAuthenticator(userName, password)); } else { mailSession = Session.getInstance(mailProps, null); }