aspose file tools*
The moose likes Java in General and the fly likes Java mail - Flooding mail box with old emails Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java mail - Flooding mail box with old emails" Watch "Java mail - Flooding mail box with old emails" New topic
Author

Java mail - Flooding mail box with old emails

Ani Amv
Greenhorn

Joined: Nov 17, 2009
Posts: 1
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

Joined: Mar 13, 2009
Posts: 492

We can't help without seeing what you have done so far. Could you post some of your code?


Hunter


"If the facts don't fit the theory, get new facts" --Albert Einstein
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18989
    
    8

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.)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java mail - Flooding mail box with old emails