This example demonstrates using GreenMail 2.0.x using Spring Boot 3.
Note that in order to avoid a Jakarta Activation implementation conflict,
you'll have to exclude the with GreenMail transitively, via com.sun.mail:jakarta.mail:2.0x provided
version of com.sun.activation:jakarta.activation
.
See greenmail-mail-test/greenmail#512 for details.
For further reference, please consider the following sections: