Muskan Lama

Java/JVM, Software development

Step By Step Guide : Sending Emails in Spring Boot

Using the JavaMailSender interface, Spring Boot offers a simple method for sending emails. You may send an email with Gmail transport layer security by utilizing the spring boot restful web API. STEP 0: Add the Spring Boot Starter Mail dependency to your project STEP 1: Configuring mail settings in application.properties In...

02-Feb-2023

Java/JVM, Software development

Customizing Validation in Spring Boot: How to Create Your Own Constraints

Customizing Validation in Spring Boot: How to Create Your Own Constraints  By developing unique constraint annotations and validator classes for Spring Boot, customized validation can be implemented.Here we can show more than one validation error messages The general steps to build a custom validator in Spring Boot are as follows: ...

24-Jan-2023