@Configuration @ConditionalOnClass(value={<error>,javax.activation.MimeType.class}) @ConditionalOnMissingBean(value=<error>) @EnableConfigurationProperties(value=MailProperties.class) @Import(value=org.springframework.boot.autoconfigure.mail.JndiSessionConfiguration.class) public class MailSenderAutoConfiguration extends Object
Auto configuration
for email support.Constructor and Description |
---|
MailSenderAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
JavaMailSenderImpl |
mailSender() |
@Bean public JavaMailSenderImpl mailSender()
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.