Class MailSenderAutoConfiguration

java.lang.Object
org.springframework.boot.autoconfigure.mail.MailSenderAutoConfiguration

@AutoConfiguration @ConditionalOnClass({jakarta.mail.internet.MimeMessage.class,jakarta.activation.MimeType.class,org.springframework.mail.MailSender.class}) @ConditionalOnMissingBean(org.springframework.mail.MailSender.class) @Conditional(org.springframework.boot.autoconfigure.mail.MailSenderAutoConfiguration.MailSenderCondition.class) @EnableConfigurationProperties(MailProperties.class) @Import({org.springframework.boot.autoconfigure.mail.MailSenderJndiConfiguration.class,org.springframework.boot.autoconfigure.mail.MailSenderPropertiesConfiguration.class}) public class MailSenderAutoConfiguration extends Object
Auto configuration for email support.
Since:
1.2.0
Author:
Oliver Gierke, Stephane Nicoll, EddĂș MelĂ©ndez
  • Constructor Details

    • MailSenderAutoConfiguration

      public MailSenderAutoConfiguration()