#HOWTO: Send E-Mails with SendGrid and Spring Boot
Codebase for the blog postSteps to run this project:
- Clone this Git repository
- Navigate to the folder
send-emails-with-sendgrid-and-spring-boot
- Open
application.properties
file in/src/main/resources
and replace the values with you API key and your template id - Open the
MailController
class and replace the email addresses - Build the project with
mvn clean package
- Run this project with
mvn spring-boot:run
- Visit
http://localhost:8080/sendgrid?msg=HelloWorld
to send an email