• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

how to detetct bounced emails ???

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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..........
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


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.
 
See ya later boys, I think I'm in love. Oh wait, she's just a tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic