Commit 80b30501 authored by Phillip Webb's avatar Phillip Webb

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

* pr/4780:
  Fix mail connection test exception message
parents 5a1ee6eb ae565b80
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment