Fix mail connection test exception message

Closes gh-4780
This commit is contained in:
Jacob Swanson 2015-12-15 15:14:46 -06:00 committed by Phillip Webb
parent 5a1ee6ebe8
commit ae565b805a

View File

@ -50,7 +50,7 @@ public class MailSenderValidatorAutoConfiguration {
this.mailSender.testConnection();
}
catch (MessagingException ex) {
throw new IllegalStateException("Mail server is not unavailable", ex);
throw new IllegalStateException("Mail server is not available", ex);
}
}