When using Spring Boot, we should use JavaMailSender implementation provided by Spring.
We should provide a wrapper that converts Email to SimpleEmailMessage.
The aim is to benefit from all Spring additional features (such as jndi, transport management...)
When using Spring Boot, we should use JavaMailSender implementation provided by Spring. We should provide a wrapper that converts Email to SimpleEmailMessage.
The aim is to benefit from all Spring additional features (such as jndi, transport management...)