• 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

Need Open Source email sending application

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We need an open source solution for sending emails which can send bulk emails to thousand of users in efficient way with less time. The application log sending status for each recipant in a database so we can knonw about those recipant(s) didn't get that particular email. The sending email may schedule for a particular time.

Thank you

Farrukh Jalil
Technology Consultant
MAZARS Pakistan

 
Ranch Hand
Posts: 5575
Eclipse IDE Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
so, you want an open source api for mail application? : JavaMail API
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
and Welcome to JavaRanch
 
Farrukh Jalil
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
Yes an open source application/api which deals with thousands of emails. JAVAMail is using single pool/queue to send email. I need a multi-threaded application which can send emails using multiple pools for minimizing load and time.


regards
Farrukh
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you can spawn threads to send an email parallelly!
 
Farrukh Jalil
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK - but all the thread use same message queue for they have their separated message queue?

If each has its own queue then my problem will be solve.... what you say?
 
Farrukh Jalil
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Got an open source enterprise email server Apache James, but I have a question regarding the email server

"Can we add custom fields in database tables (spool/inbox) and insert or update the tables using james when an email shoot?"

I need to create "email log" for bulk emails with particular event in our portal.



What you suggest?

Regards,
Farrukh Jalil
Consultant Mazars Pakistan
 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Farrukh,

I don;t know about Apache James, but you can accomplish the same using Java Mail API.
1.Create a table with data structure TO,From,Subject,Body,Attachment,WhenSent,etc..(i.e as columns).
2.For every email to be sent, insert those values into MailLog table.
3.Later run a Java program (say for every 2mins) which loops through each unsent mail and fires a email using mail API and updates the whensent column once delivered(you can also think of MultiThreaded coding here for better efficiency).


Thanks
 
Farrukh Jalil
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Arun,

Your idea is superb, I will try it out using Java Mail API, but here one thing comes in my mind that
will the said API support arround 15,000 bulk emails?

Thanks for the reply,

regards,

Farrukh
 
Arun Chidam
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
15,000 bulk emails??...how do you know which email is sent and which not when API supports Bulk email?...

Refer Java API link here and faq.

Farrukh Jalil wrote:Hi Arun,

Your idea is superb, I will try it out using Java Mail API, but here one thing comes in my mind that
will the said API support arround 15,000 bulk emails?

Thanks for the reply,

regards,

Farrukh

 
Farrukh Jalil
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The solution comes with Apache James enterprise email server in which spooling repositery maintains for every email. but I need to customize the database repositery i.e. the table with my columns like EventID, EmailJobID etc. That's why, I was asking about apache james. my last option is to use java mail API because I have to do lots of work for multi-threaded email sending mechanism with logging.

Nice to see the reply guys. Its very helpful to discuss issues in a friendly environmnent.

regards,
Farrukh
 
reply
    Bookmark Topic Watch Topic
  • New Topic