aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes java mail and transaction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "java mail and transaction" Watch "java mail and transaction" New topic
Author

java mail and transaction

Raf Szczypiorski
Ranch Hand

Joined: Aug 21, 2008
Posts: 383
Hi. Can Java Mail participate in a Transaction when used in the container? I mean, I send a message, then I try to store sth in the db, and it fails, and the message is never sent. Is this possible? If yes, how can one make Java Mail Session be part of a transaction?
Cheers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java mail and transaction