This Spring Boot application allows you to send emails via SMTP, integrating with the Brevo service for seamless email delivery.
Follow these steps to set up and use the Simple Mail Sender:
Make sure you have the following installed on your system:
- Java
- Create an account on Brevo.
- Log in and navigate to the Free Plan section to obtain your SMTP server details.
-
Clone the repository:
git clone https://github.com/KrishanMihiranga/simple-mail-sender.git
-
Open the
application.properties
file in thesrc/main/resources
directory. -
Fill in the SMTP and API details obtained from Brevo:
# application.properties # SMTP Configuration spring.mail.host=your-smtp-host spring.mail.port=your-smtp-port spring.mail.username=your-smtp-username spring.mail.password=your-smtp-password
Replace
your-smtp-host
,your-smtp-port
,your-smtp-username
andyour-smtp-password
with your Brevo SMTP and API details.
-
Run the backend:
mvn spring-boot:run
-
Run the frontend.
Now you can use the application to send emails via SMTP using the configured Brevo service.
This project is licensed under the MIT License - see the LICENSE file for details.