Noel, I checked out HEAD/james-server, but it doesn't have the update you indicated.
I have added in the changes, but I'm having problems compiling under Eclipse (I have followed most of what's on the Wiki, but the BUILD.bat won't work on my system as I don't have Ant configured externally). The current issue is with the internal Ant process. It keeps using JDK 1.4 even though I'm trying to get it to use JDK 1.3. Anyone have any ideas what I need to change/configure...I'm new to Ant, though I'm comfortable with Eclipse, and routinely use different JDKs for web development, Ant seem to get some of it's settings from somewhere else...I know this isn't a James question, but I figured someone here has already solved this problem. Alternatively, if the SMTPHandler will work with my current James 2.2.0a4 I'll happily try a compiled version directly if you can email it. Thanks. -Chris > -----Original Message----- > From: Noel J. Bergman [mailto:[EMAIL PROTECTED] > Sent: Sunday, March 21, 2004 11:55 PM > To: [EMAIL PROTECTED]; 'James Users List' > Subject: RE: Problem w/Clie Mail, SMTP AUTH & James > > > Yes, I can check it out of cvs, where do I go, what do I look for? > > You want SMTPHandler.java. The short form is : > > StringTokenizer authTokenizer = new > StringTokenizer(userpass, "\0"); > - user = authTokenizer.nextToken(); > - pass = authTokenizer.nextToken(); > + String authorize_id = authTokenizer.nextToken(); + user = > authTokenizer.nextToken(); + try { > + pass = authTokenizer.nextToken(); > + } > + catch (java.util.NoSuchElementException _) { > + pass = user; > + user = authorize_id; > + } > > The real version has extensive comments explaining. > > --- Noel > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
