Merge pull request #4780 from Jacob-Swanson/mail-test-exception-message

* pr/4780:
  Fix mail connection test exception message
This commit is contained in:
Phillip Webb 2015-12-16 10:26:13 +00:00
commit 80b305015e
1 changed files with 1 additions and 1 deletions

View File

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