I have successfully sent simple email using this:
SimpleMailMessage mailMessage = new SimpleMailMessage();
mailMessage.setTo(\"someone@abc.com\");
mailMessa
You might be interested in checking this article: "Rich HTML email in Spring with Thymeleaf" http://www.thymeleaf.org/doc/articles/springmail.html
It uses Thymeleaf as a templating view layer, but the concepts and Spring-specific code explained there are common to all Spring applications.
Besides, it has a companion example application which source code you can use as a base for your needs.
Regards, Daniel.