File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes servlet & java mail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet & java mail" Watch "servlet & java mail" New topic
Author

servlet & java mail

urarom sogard
Greenhorn

Joined: Sep 10, 2002
Posts: 21
i have to send emails from servlets but very often the messages are undelivered so i have to retransmit them. i decided to listen for the undelivered addresses and try again. this may be very time consuming. i want to try to start a thread to do this until the messages are delivered.
is this pseudocode corect??:
doPost()
{
...
out.println("SOME_HTML");
t = new ThreadMail;
t.start();// send mail and listen until is delivered
out.println("SOME_HTML");
....
}
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlet & java mail
 
Similar Threads
how to find correct email and undeliverable email in javamail
Tracking link of email
create email delivery report
How to track Email Messages
how to execute thread on linux web server?