This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 12761
What triggers sending of a single email?
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17249

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 - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: mail proliferation
Similar Threads
javaranch bug: e-mail not visible in moderator profile
Need source code for Book "Kicking Butt with MIDP and MSA"
Using "Tiger" for SCJD 1.4
Certification Results Are In!!! How did you do???
URL Link