Reputation: 321
i have an app(spring+hibernate) that needs to send thousands of emails simultaneously and i was told that the best solution here is to have a mail server i don't have any idea where to start or if there's a framework or a service that is better so please guys give me some info where to start, thank you.
Upvotes: 2
Views: 8518
Reputation: 683
Use Java mail api to send mail that you can do through ultimately you need an SMTP server to deliver the mail, and if you want it local you can use iis SMTP mail, hmail server or other available SMTP servers, and need to configure it correctly to send lots of mail.
check out for sending mail using Java
http://www.javacommerce.com/displaypage.jsp?name=javamail.sql&id=18274
http://www.tutorialspoint.com/java/java_sending_email.htm
http://www.javapractices.com/topic/TopicAction.do?Id=144
Upvotes: 0
Reputation: 21892
You don't build a mail server. You use the JavaMail API to access a mail server (SMTP server) in order to send emails. Here is an explanation of the JavaMail API.
Upvotes: 3