1
 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?

Howli
  • 12,291
  • 19
  • 47
  • 72
Sam Shaikh
  • 1,596
  • 6
  • 29
  • 53

0 Answers0