Hi,

Raghavendra Setty schrieb:


I am using James - pop3. Below are the steps i am using to retrieve the
mails from server:

Store store = session.getStore("pop3");
store.connect("localhost", userName, password);
inbox = store.getFolder("INBOX");

The password what i get for a particular user from "users" table is
encrypted (SHA).

AFAIK(!) James does not support storing plain passwords into the users table
out-of-the-box.
Without the plain password you can't connect to the pop3 Server because you can't recalculate the plain password from the SHA hash. (That's why SHA is used.)

So you have the following possibilities

1. I'm wrong and it is possibible to tell James to store plain passwords
2. You hack James to use plain passwords (start somewhere at JamesUsersJdbcRepository)
3. you get the plain password from another source
4. you read the mails directly, without javamail, from DB/File

Joachim


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to