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

* pr/4780:
  Fix mail connection test exception message
pull/4686/merge
Phillip Webb 9 years ago
commit 80b305015e

@ -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);
} }
} }

Loading…
Cancel
Save