Class MailSenderValidatorAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.mail.MailSenderValidatorAutoConfiguration
@AutoConfiguration(after=MailSenderAutoConfiguration.class)
@ConditionalOnProperty(prefix="spring.mail",
value="test-connection")
@ConditionalOnSingleCandidate(org.springframework.mail.javamail.JavaMailSenderImpl.class)
public class MailSenderValidatorAutoConfiguration
extends Object
Auto configuration
for testing mail service
connectivity on startup.- Since:
- 1.3.0
- Author:
- EddĂș MelĂ©ndez, Stephane Nicoll
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MailSenderValidatorAutoConfiguration
-
-
Method Details
-
validateConnection
public void validateConnection()
-