#JavaMailSender not found
1 messages · Page 1 of 1 (latest)
<@&1004656351647117403> please have a look, thanks.
did you try to import it ?
I guess I have to add some dependencies to the gradle file
what was the site again where you could find the gradle dependencies?
is this what you want https://mvnrepository.com/artifact/jakarta.mail/jakarta.mail-api/2.1.3 ?
Maybe findjar? But that site went down.
If you're using spring boot and want to use the auto configuration the dependency is
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-mail</artifactId>
</dependency>```
(I say because you're trying to Autowire the JavaMailSender too) Here's a tutorial page on it:
https://www.baeldung.com/spring-email
So solved @supple musk ?
I assume as OP raised a new question? lol
Yes, but it would be great that op actually say yes I used this or this, thank you, and close the thread
I agree @halcyon cypress
sorry It helped thx
But which one did you use ?
I looked up the gradle dependency in the guide