Class EmailConfiguration
- java.lang.Object
-
- idatt2106.group3.backend.Configuration.EmailConfiguration
-
@Configuration public class EmailConfiguration extends java.lang.Object
Configures email settings for EmailComponent
-
-
Constructor Summary
Constructors Constructor Description EmailConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.mail.javamail.JavaMailSender
getJavaMailSender()
Creates an email configuration by connecting to an Gmail account Password and username are read from config.properties file
-