This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java mail - Flooding mail box with old emails

 
Ani Amv
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have written simple Java code to send an email for error notification.
But what happens is, if new error email notification occurs, we receive email for that error as well old error emails which were sent previously when previous errors were occurred
And mail box is getting flooded.

May be old email messages are getting saved in some buffer and they get triggered once new email is been sent, I am not sure.

Can anybody help with this

Thanks
 
Hunter McMillen
Ranch Hand
Posts: 492
Firefox Browser Linux VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We can't help without seeing what you have done so far. Could you post some of your code?


Hunter
 
Paul Clapham
Sheriff
Pie
Posts: 20758
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm also confused about what the problem is. These e-mails which are flooding your inbox: are they the e-mails which you send for error notifications, or are they being sent by something else in response to those e-mails? (First you started to talk about sending e-mails, and then you switched to talking about your inbox without explaining what the connection between those two things was.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic