I don't know if it applies in your case, not having looked too closely at
your code, but PLAIN AUTH was broken until recently.  Please try 2.2.0RC2
instead of 2.1.3.

On another note, where are you registering the Authenticator with the
Session?  I'm looking at org.apache.naming.factory.MailSession, and it
calls:

  Session session = Session.getInstance(props, null);
  return (session);

which means that there is no Authenticator registered with that Session as
it comes back from the JNDI ObjectFactory.

        --- Noel


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

Reply via email to