Hi Andy,

If exceptions aren't being thrown from the services/pages that use the
mail classes, then the javax.mail is present. Is it possible that your
server (or it's network) is blocking outbound smtp connections?

chris

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]
>
>
>   

-- 
http://thegodcode.net


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

Reply via email to