Session session = Session.getDefaultInstance(props, new javax.mail.Authenticator() {
protected PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication("user-name", "user-password");
}
});
Here, I get several errors. As below:
Rename in file, Link all references for a local rename (does not change reference in other files)
What should I do?