Module jakarta.mail
Package jakarta.mail

Class AuthenticationFailedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
jakarta.mail.MessagingException
jakarta.mail.AuthenticationFailedException
All Implemented Interfaces:
Serializable

public class AuthenticationFailedException extends MessagingException
This exception is thrown when the connect method on a Store or Transport object fails due to an authentication failure (e.g., bad user name or password).
See Also: