Thanks, Peter and Chris, for your help. I finally figured out what it was...I had two conflicting copies of javax.mail installed. I had it included in my pom.xml, and I had a Debian package installed libgnumail-java. (I'm on a Debian server). For some reason, the two didn't play nice together.
I uninstalled the Debian package, and it seems to be working beautifully. Thanks again for your help! Andy On Wed, 2008-04-23 at 14:00 +0300, Peter Stavrinides wrote: > Sounds like an issue with the server configuration, I suggest you get > the logs to work first, then you might get a better idea of why the mail > isn't working... if it works in development then chances are you are > missing a host entry or something small like that, which will pop up in > the logs. > > Andy Huhn wrote: > > Hello, > > > > In my dev environment (running jetty6 from inside Eclipse), I'm able to > > use javax.mail classes and successfully connect to my mail server to > > send a message. But when I migrate the code to my production server > > (jetty6 also), everything seems to work correctly except that the app > > doesn't connect to the outbound mail server. > > > > I've watched the packets (tcpdump), so I know that the webserver isn't > > even trying to connect to the mail server. > > > > There are no errors mentioned in the log. In fact, I can only get > > startup/shutdown messages and Hibernate messages written to the log, for > > some reason I can't seem to control what's being logged in production > > (although I can in dev). > > > > The logging is not my major issue...I don't care about that as long as I > > get mail working (I'll go back and fix logging later). > > > > Can someone help me with javax.mail? > > > > Here is the relevant line from my pom.xml: > > > > <dependency> > > <groupId>javax.mail</groupId> > > <artifactId>mail</artifactId> > > <version>1.4.1</version> > > </dependency> > > > > Help? Perhaps the first step is to try to get logging working. > > > > Thanks, > > Andy > > > > > > --------------------------------------------------------------------- > > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]