MessagingException: Unknown AUTHORIZATION state command

  1 post   Feedicon  
Replies: 0 - Last Post: May 07, 2011 07:59
by: dengdai
showing 1 - 1 of 1
 
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
Replies: 0 - Last Post: May 07, 2011 07:59
by: dengdai
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close