I got the following problem when trying to run my application. Have debugged everything and still nothing.
The IDE is finding the bean without any issue so I\'m very con
As already stated you need to set at least spring.mail.host
in your application properties. Spring Boot autoconfiguration only creates a JavaMailSender
bean if the property is set: https://github.com/spring-projects/spring-boot/blob/master/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mail/MailSenderPropertiesConfiguration.java#L38