This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Struts and the fly likes send E-mail in background Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "send E-mail in background" Watch "send E-mail in background" New topic
Author

send E-mail in background

ramji srinivasan
Greenhorn

Joined: Aug 22, 2005
Posts: 11
i have a form which has a "Send Mail" checkbox option which sends a mail to the selected members after saving a particular record...

my problem is sending mail option slows down the record saving process...is there anyway we can send the e-mail in background after saving the record...how can we seperate the process...

please suggest a suitable solution..
Kerry Wilson
Ranch Hand

Joined: Oct 29, 2003
Posts: 254
Start a seperate thread.


http://www.goodercode.com
SCJP 1.4
Kerry Wilson
Ranch Hand

Joined: Oct 29, 2003
Posts: 254
Launch the email sending class with a seperate thread.
sudhakar Tadepalli
Ranch Hand

Joined: Dec 27, 2001
Posts: 130
What if the user wants a confirmation about sent email ? can we get back to the user if we use another thread ?

-Sudhakar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: send E-mail in background
 
Similar Threads
how to check if assignment is properly uploaded
window 7 64bit using database problem
Interactive Web Forms
Logo enquiry
Information About E-mail Interface