Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need Open Source email sending application

 
Farrukh Jalil
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • 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

 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • 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 Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and Welcome to JavaRanch
 
Farrukh Jalil
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • 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 Java Windows XP
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
 
Arun Chidam
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic