Basically what I am doing with the below code is calling some methods and based on that criteria calling my notfierEmail servlet. NotifierEmail sends off an email notice.
Everything works in theory.. I get an email for the first element in my owner ArrayList with all proper information but then it just stops. No error message or anything.. I need to be able to loop through those owner elements and send off an email for each one.
Could someone point me in a direction on how to do this? I would really appreciate it. Thanks!
The problem is that you are trying to send your e-mails by repeatedly forwarding to a servlet. This won't work because you can only forward the request once. My solution would be to change your design so that you don't use a servlet to send the e-mail, but a plain old Java class that you can use repeatedly.
But I told you all this at least a week ago on the Sun forum.
Joined: Sep 28, 2004
ETA - I think it just clicked what you meant - Please ignore. I might be back with questions. Thanks
[ May 24, 2006: Message edited by: Crystal Bazil ]
ETA: It is working perfectly now! Thanks All [ May 24, 2006: Message edited by: Crystal Bazil ]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com