@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(value={javax.mail.internet.MimeMessage.class,javax.activation.MimeType.class,org.springframework.mail.MailSender.class})
@ConditionalOnMissingBean(value=org.springframework.mail.MailSender.class)
@Conditional(value=org.springframework.boot.autoconfigure.mail.MailSenderAutoConfiguration.MailSenderCondition.class)
@EnableConfigurationProperties(value=MailProperties.class)
@Import(value={org.springframework.boot.autoconfigure.mail.MailSenderJndiConfiguration.class,org.springframework.boot.autoconfigure.mail.MailSenderPropertiesConfiguration.class})
public class MailSenderAutoConfiguration
extends Object
- Since:
- 1.2.0
- Author:
- Oliver Gierke, Stephane Nicoll, EddĂș MelĂ©ndez