#JavaMailSender not found

1 messages · Page 1 of 1 (latest)

halcyon cypress
#

I am trying to make a class to send an email from my application, but it cannot the JavaMailSender object in java. What can I do to make it work?

pale auroraBOT
#

<@&1004656351647117403> please have a look, thanks.

halcyon cypress
#

I guess I have to add some dependencies to the gradle file

#

what was the site again where you could find the gradle dependencies?

glacial peak
#

Maybe findjar? But that site went down.

supple musk
#

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>```
gloomy roost
#

So solved @supple musk ?

supple musk
gloomy roost
halcyon cypress
#

sorry It helped thx

gloomy roost
halcyon cypress
#

I looked up the gradle dependency in the guide

gloomy roost
#

I gave you one

#

Simon gave you one

#

which one did you use ?

#

another ?