spring-attic / spring-cloud-aws

All development has moved to https://github.com/awspring/spring-cloud-aws Integration for Amazon Web Services APIs with Spring
https://awspring.io/
Apache License 2.0
590 stars 376 forks source link

Fix conditional on SimpleEmailAutoConfiguration #670

Closed eddumelendez closed 3 years ago

eddumelendez commented 3 years ago

Currently, simpleMailSender bean is activated when SimpleEmailServiceJavaMailSender is not in the classpath but the bean itself depends on one class in the same package that SimpleEmailServiceJavaMailSender. This commit improves the condition by activating when javax.mailSession is not in the classpath.