wood burning stoves
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

mail proliferation

wu jong

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 #?.

Paul Sturrock

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

Joined: Mar 22, 2000
Posts: 13035
What triggers sending of a single email?
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

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)



Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link: http://aspose.com/file-tools
subject: mail proliferation
It's not a secret anymore!