Chris, Can you provide more information than this. How does it 'bomb out'? Is there an exception thrown? Have you had a look in the James log files (at INFO or DEBUG level)? What values have you set up, if any, in 'properties? Are you running James and the servlet on the same machine?
Cheers Steve > -----Original Message----- > From: chris schild [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 19, 2003 9:47 AM > To: James Users List > Subject: Sending Mail problem with Session > > > Howdy jusers I have a problem with the smtp mail sending from > a servlet. I have a servlet (running on Apache/Tomcat) that > is trying to send a mail msg but when I try and create an > instance of the Session it bombs out. > > Session session = Session.getDefaultInstance(properties, new > SmtpAuthenticator()); > > I have used the default smtp server (IIS) on another machine > and it works fine. Someone suggested using that server on > another port BUT I don't want to do that one. James is my > smtp server, that's that. > > I have been away from James for awhile as it has been running > smoothly. Any suggestions as I am stuck and have been for > way to long. btw - I have tried removing the authentication > from both the servlet & James. > > James 2.1.1 > Apache2 > Tomcat4.1.18 > Win2k > > One last request, would someone have a test script for > sending mail thru james? Can you do this with authenication > or would I need to disable that? > > Thanks! > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
