It's not a secret anymore!*
The moose likes Other JSE/JEE APIs and the fly likes Batch mailing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Batch mailing" Watch "Batch mailing" New topic
Author

Batch mailing

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Hi.
Consider the following scenario :
I'm a company and I'm developing a new product, when is product is available, I want to send emails to all subscribed developers (each mail should be customized -the reciever name for example-).
How to do this batch mailing ?
Any available tools or frameworks ?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

So you need two things: something to send emails and something to generate customaized messages based on some sort of template. Have you considered JavaMail and Velocity?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Is it ok to get the data from the database as objects (Yes, I use Hibernate)and then the loop is responsible for sending an email for each object ?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Sure. Why not?
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Performance issues ?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Well, given what we know about your requirements, its very difficult to say much about how the application may perform. That part is up to you. There is nothing inherent in any of the technology choices before you that will definately cause performance issues.
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Is Apache JAMES helpful in my case ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42929
    
  68
James is a mail server, so it might be helpful if you don't have any other mail server that you could use.
 
wood burning stoves
 
subject: Batch mailing