my dog learned polymorphism*
The moose likes Other JSE/JEE APIs and the fly likes how to detetct bounced emails ??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "how to detetct bounced emails ???" Watch "how to detetct bounced emails ???" New topic
Author

how to detetct bounced emails ???

Ganesh Phapale
Greenhorn

Joined: Dec 14, 2004
Posts: 21
I am working on mailing the newsletter.
I am picking the emails from the database and frwding the mails.

I want to know how the bounced emails will affect my server?

Is there any way to detect bounced emails so as to delete those enries from the database??

my mailing code is in jsp. and my server is SQL.

what r diffrent kind of bounces such as Hard Bounce , Soft Bounce etc..

pls help..........
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Not sure what this has to do with JSP... I'll move this to the 'Other Java APIs' forum since I assume you're using JavaMail, and the question has more to do with JavaMail than with JSP.

I did find something that may be of intrest to you, though. It looks like the Jakarta Commons Email API has some ideas on how to handle bounced emails.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


Is there any way to detect bounced emails so as to delete those enries from the database??

If you need to detect all bounced emails originating from your server, then the short answer is no, at least not in a way which can be 100% guarenteed.

The big issue with this is SMTP (by "email", I'm assuming you mean this protocol? ) doesn't define any uniform way to describe a delivery failure. There is another "standard" - a MIME type for reporting mail admin messages (see here if you are interested) - but it is not widely implemented. So there is not absolute guarentee that a delivery failure will result in a failure report, or that any failure report generated will be returned to the sending server. Even if it does, it may be of a type whereby you can't match a sent email with a particular delivery failure.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to detetct bounced emails ???
 
Similar Threads
how to detetct bounced emails ???
mailing Newsletter to all Subscribers
webmail issues
java mail and Groupwise
Accessing custom email headers in bounced back emails