my dog learned polymorphism*
The moose likes Servlets and the fly likes mail proliferation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "mail proliferation" Watch "mail proliferation" New topic
Author

mail proliferation

wu jong
Greenhorn

Joined: May 31, 2005
Posts: 13
I am using javax.mail package and sending e-mails. I have very well unit tested the code and it is standard code that sends an e-mail to the recepient via the SMTP server. Now the code is in production and I cannot get log files (or cannot update the production with newly written code that logs everything). The problem is that some recepients are getting the same e-mail thousands of times which is not the expected behavior of the code. Say that my code is 100% correct, what could be the reasons #?.

R
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


I cannot get log files (or cannot update the production with newly written code that logs everything).

There is very, very little point trying to debug code without any debug information - it's just guess work. Unless you can get some useful debug you might as well give up.

Why can't you get the log?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12823
    
    5
What triggers sending of a single email?
Bill
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

I'd say the code that gets the e-mail address and addresses the e-mails is staying on either the first or last e-mail address and sending it X amount of times, where x = number of recipient e-mail addresses that are retreived.

Now, the big question is how does this relate to Servlets? This is a Servlets forum for Servlets questions only. We have the Other Api forum for Java Mail Api, which this sounds more for. Or it might just be Java In General (Beginner)

Thanks

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
wood burning stoves
 
subject: mail proliferation