Oggie_Svennson
|
Posted: December 12, 2010 08:15 by Oggie_Svennson
|
|
I am using Exim Mail Server, working on NB 6.9.1 and GF 3.0.1. I can send mails with authentication but when I try to receive them using the same authentication I get a MessagingException: Unknown AUTHORIZATION state command. Here is my code snippet,
// Setup properties
Properties props = new Properties();
props.put("mail.pop3.auth", true);
props.put("mail.pop3.host", "myHost");
// Setup authentication, get session
Authenticator auth = new Authenticator() {
public PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(user, pass);
}
};
Session session = Session.getInstance(props, auth);
I think it is a problem of the server regarding a wrong user and pass encrypting. I was trying to download the JavaMail2 sorce code from here, but I could not. So it should be enough for me if I get the source code of all kinds of encrypting (STARTSSL, SSL/TLS, MD5, etc) Best Regards, Jose |
MessagingException: Unknown AUTHORIZATION state command
Replies: 0 - Last Post: May 07, 2011 07:59
by: dengdai
by: dengdai
showing 1 - 1 of 1
Replies: 0 - Last Post: May 07, 2011 07:59
by: dengdai
by: dengdai






