Skip to content

studioofpdp/example-mailer-spring

 
 

Repository files navigation

Just a simple email sender

This project is to showcase Spring, Spring Data JPA, Spring Security, JSPs and JSTL. Based on Maven, Hibernate, HSQLDB, JavaMail, Twitter Bootstrap and JQuery

This project contains embedded HSQL database, which destroys all data at shutdown. If you want different database, add JDBC driver to pom.xml and change WEB-INF/spring/db.xml

To send emails you must set SMTP server configuration (in email.properties). At training we use http://www.mandrillapp.com, which offers free SMTP server, but you can provide your own. Also set preview = false (also in email.properties).

If set preview = true in email.properties, preview database with test data will be created upon application deployment. Preview database will be re-initialized once per day.

How to run: mvn jetty:run

How to build WAR file: mvn package

You can deploy this web application to Heroku. Live preview is here: http://example-mailer-spring.jiripinkas.cz

My other projects:

About

Example application with Spring Web MVC, Spring Security and Spring Data JPA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 97.8%
  • CSS 2.2%