Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Transport.send problem  RSS feed

 
Harry Jones
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I send an email once in a while from my web application on a virtual dedicated server. Usually the email works. But sometimes Transport.send hangs up. Processing just stops at that statement. I don't get anything from debug.

Here is the call:

Here is the sendmail:
What could be causing the problem with Transport.send? I researched this but can't find an answer. Thanks.
 
Rob Spoor
Sheriff
Posts: 21095
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't ignore exceptions like that; at least print its stack trace.
 
Harry Jones
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I actually cut this out to keep the post short:

I would like to use try/catch /finally with the Transport.send, but I don't know how to write to the log from there. Any help would be appreciated.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!