Class MailAuthenticationException


public class MailAuthenticationException extends MailSendException

The mail server refused the credentials it was given, or offers no way to present them that is safe to use.

Not permanent: the mail is as good as it was and the configuration is what is wrong, so a queued mail is tried again -- a rotated password must not cost every mail sent before it was corrected.

  • Constructor Details

    • MailAuthenticationException

      public MailAuthenticationException(String message, int code)
      • code: the server's reply code, or 0