diff --git a/README.md b/README.md index aa11c5458d53aa79474b0ca73db8c8f8fccaf42d..734c5af271bc6910971020673661e46af1f67bf7 100644 --- a/README.md +++ b/README.md @@ -6,4 +6,5 @@ * Write Spring Boot integration tests with a ‘real’ database ([Blog](https://rieckpil.de/howto-write-spring-boot-integration-tests-with-a-real-database/), [Sources](https://github.com/rieckpil/blog-tutorials/tree/master/testcontainers)) * Avoid repeating attributes in JPA entities ([Blog](https://rieckpil.de/howto-avoid-repeating-attributes-in-jpa-entities/), [Sources](https://github.com/rieckpil/blog-tutorials/tree/master/avoid-repeating-attributes-in-jpa-entities)) * Lazy Loading of JPA attributes with Hibernate([Blog](https://rieckpil.de/how-to-lazy-loading-of-jpa-attributes-with-hibernate/), [Sources](https://github.com/rieckpil/blog-tutorials/tree/master/lazy-loading-of-jpa-attributes-with-hibernate)) -* Deploy a Spring Boot Uber-Jar application within Open Liberty ([Blog](https://rieckpil.de/howto-run-spring-boot-uber-jar-application-within-open-liberty/), [Sources](https://github.com/rieckpil/blog-tutorials/tree/master/spring-boot-with-open-liberty/)) \ No newline at end of file +* Deploy a Spring Boot Uber-Jar application within Open Liberty ([Blog](https://rieckpil.de/howto-run-spring-boot-uber-jar-application-within-open-liberty/), [Sources](https://github.com/rieckpil/blog-tutorials/tree/master/spring-boot-with-open-liberty/)) +* Send E-Mails with SendGrid and Spring Boot ([Blog](https://rieckpil.de/howto-send-e-mails-with-sendgrid-and-spring-boot/), [Sources](https://github.com/rieckpil/blog-tutorials/tree/master/send-emails-with-sendgrid-and-spring-boot)) \ No newline at end of file diff --git a/send-emails-with-sendgrid-and-spring-boot/README.md b/send-emails-with-sendgrid-and-spring-boot/README.md index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..8e9c8e8625034ac851ca68eeea090fef3b4e6559 100644 --- a/send-emails-with-sendgrid-and-spring-boot/README.md +++ b/send-emails-with-sendgrid-and-spring-boot/README.md @@ -0,0 +1,11 @@ +# Codebase for the blog post [#HOWTO: Send E-Mails with SendGrid and Spring Boot](https://rieckpil.de/howto-send-e-mails-with-sendgrid-and-spring-boot/) + +Steps to run this project: + +1. Clone this Git repository +2. Navigate to the folder `send-emails-with-sendgrid-and-spring-boot` +3. Open `application.properties` file in `/src/main/resources` and replace the values with you **API key** and your template id +4. Open the `MailController` class and replace the email addresses +5. Build the project with `mvn clean package` +6. Run this project with `mvn spring-boot:run` +7. Visit `http://localhost:8080/sendgrid?msg=HelloWorld` to send an email