1.

What Is Authenticator In Javamail Api?

Answer»

The JavaMail Authenticator is found in the javax.mail package, and used as an authenticator to access PROTECTED resources by PROMPTING the USER for username and PASSWORD.

  • Properties props = new Properties();
  • Authenticator AUTH = new MyAuthenticator();
  • Session session = Session.getDefaultInstance(props, auth);

The JavaMail Authenticator is found in the javax.mail package, and used as an authenticator to access protected resources by prompting the user for username and password.



Discussion

No Comment Found