<Why is Spring looking for a local SMTP server> I ...
# stackoverflow
r
Why is Spring looking for a local SMTP server I have been attempting to implement password resetting into my application, and to do so I want to send the user an email with their verification code. I have built the java mail implementation like this Config: @Configuration class MailConfig { @Bean fun javaMailSender(): JavaMailSender = JavaMailSenderImpl() } Service: @Service class MailService { @Autowired lateinit var sender: JavaMailSender fun sendMail(email: String, text: String) { val msg =...