Package-level declarations
Types
Link copied to clipboard
@Configuration
@EnableConfigurationProperties(value = [MailProperties::class ] )
Provides a JavaMailSender bean if Spring Boot's auto-configuration does not create one (for example, when no spring.mail.* properties are defined). This keeps EmailService autowirable in all environments. Values from MailProperties will be applied when present.