I need to connect with Javamail to James using a SHA encrypted password
string.

But I think James need plain text.

I have the code below

                 // Get a Store object that implements the specified
protocol.
      Store store = session.getStore("pop3");
      //Connect to the current host using the specified username and
password.
      store.connect(host,Integer.parseInt(port), user, password);

my "password" String is encrypted.

I am getting "Authentication failed" error.

Also i am using LDAP to authenticate James.

Reply via email to