2 Replies Latest reply on Sep 5, 2006 3:51 PM by Pat Osterday

    AuthenticationFailedException when receive mail.

    lirui zhu Newbie

      I use outlook or Java code to receive the mail occurs the Authentication error, but both of them Sending mail is ok. The java code receive other mail(eg.yahoo, hotmail) is woking.

      In outlook, the program always prompte the login form to ask the username and password.

      In Java code, the result is:

      javax.mail.AuthenticationFailedException: Username or password is incorrect.


      I've check the config file,
      "
      C:\Java\JBossMailServer\server\default\deploy\mail.ear\mail.sar\META-INF\jboss-service.xml
      " for the username and password.
      The password and username is right for sending.