• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Sending bulk emails

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All, <br><br>

We have a situation where we require to broadcast a message to more than 100,000 customers via our j2ee web application. Is there an open source or 3rd party product that provides this functionality ? We were planning to design a queue to send the emails in batches but we are looking for options that can simplify our lives and try to reuse any existing products. Please advice.<br><br>

Thanks,<br>
Srini
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You'd need a mail server, obviously, and a way to access it from Java. The Java API for sending mails is called JavaMail, and it's well documented. How you use that API (all at once, or in batches, or overnight, or ...) is up to your web app. Does that answer your question?
 
Sheenu Pillai
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your reply but I am not looking for the API. I am already using the JavaMail API and an exchange server. My question was directed towards sending huge number of emails that cannot be handled by the email server in the normal way. Exchange server has certain limit above which it might crash or perform badly. This is what is happening now, the email server crashes.

People suggested using distribution list but the issue is that these email list is dynamically created based on some criteria the user selects. Please advice on the best way to handle it. I am looking for more of a 3rd party tool that can be reused.
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Exchange is not a good option to handle this, as you found out. I'd look at something like IMail. You could still use a distribution list, just create it whenever you need to use it, and then remove it afterwards.
 
Sheenu Pillai
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How do you create a distribution list dynamically ?

Is there any product in the market that handles bulk emails ?
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

How do you create a distribution list dynamically ?



Good point, JavaMail doesn't address this. But the server may have its own proprietary API to do this.
 
Evil is afoot. But this tiny ad is just an ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic