Whoops... copied old message to get address... > -----Original Message----- > From: Robert Koberg [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 23, 2003 12:18 PM > To: 'James Users List' > > Hi, > > I am trying to send an email from a servlet with javamail (on a dev > machine > not the james machine). I have SMTP AUTH on. I create the > PasswordAuthentication with a plaintext username and password. When I send > it I get an AuthenticationFailedException: > > javax.mail.SendFailedException: Sending failed; > nested exception is: > class javax.mail.AuthenticationFailedException > > In my james smtp log I have DEBUG on and I see two lines after the line > saying 'Command received: AUTH LOGIN' and before a line that says 'AUTH > method LOGIN failed' which look something like (not the actual): > > Sent: 334 OIUoioefofvhfr > Sent: 334 DrhgHEFJjkhfed > > My PasswordAuthentication looks like: > > public class LsbSmtpAuthenticator extends Authenticator { > > public PasswordAuthentication getPasswordAuthentication() { > return new PasswordAuthentication("[EMAIL PROTECTED]", "testpasswd"); > } > } > > The username and password that I actually use are correct because I use > the > same in my gui mail client. > > First, I don't suppose there is a way to send an MD5 encrypted string as > the > password (I have a custom user/passwd list already), is there? > > Second, can anybody tell me what is going wrong? Should I be sending > encrypted strings (what kind?)? > > I can't see anything from a search in google or the James docs. > > Thanks for any info, > -Rob > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
