I am working on Spring based project; I am looking to implement an use-case in which I can send email to specific userId, As I know I can send mail using SimpleMailMessage Interface and MailSender Class of SpringFramework. Is there other way to do same one? Are there any references available for more specific study…?
Share
As mentioned, you can use SimpleMailMessage and/or MailSender if you like; the Spring classes are intended to expose a simpler interface over the traditional JavaMail API:
Is there a reason why you wouldn’t want to use these classes if you are already using Spring? What is the actual problem you are having?