Whilst building a Spring Boot application you may encounter a need of adding a mail configuration. Actually, configuring the mail in Spring Boot does not differ much from configuring it in Spring Bootless application. But how to test that mail configuration and submission is working fine? Let’s have a look. I assume that we have a simple Spring Boot application bootstrapped. If not, the easiest wa
![Testing mail code in Spring Boot application](https://cdn-ak-scissors.b.st-hatena.com/image/square/641adbb36e45a48456f807a14b275f5073344bad/height=288;version=1;width=512/https%3A%2F%2F2.bp.blogspot.com%2F-qHSsmfROS1c%2FUoFWwtez3iI%2FAAAAAAAAG0M%2FnxKwNEOaRSs%2Fw1200-h630-p-k-no-nu%2Flogo-spring-io.png)