This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi I developed an application to send html emails using Java Mail Package. In that application I am storing all my email addresses in a database. So application reads each email address from data base and sends mail to that address. Application is working good. But application is taking nearly 30 seconds to send mail to each recipient. Can any body tell me how can I improve speed. Thanks
Dear sripad If sending mail is slow its probably due to the connectivity or the smtp mail server perofrmance that you use. If there are only a few address I think you can avoid database storage itself. Maybe you can create a property file. If the content to all the mail is same you can send to multiple recipients the same mail. Prash
Java Mail service is pretty fast . try another mail server if u r not getting enough performance. u may use James . Its a pretty nice mail server developed by jakarta . ya the same jakarta that developed Tomcat . Ur net connection band wirth may also be a bottleneck .
"Hain aur bhee duniya mein sukhanwar bahut acche.<br />Kehte hein ke Galib ka hai andaz-e-bayaan aur."