Commit ae565b80 authored by Jacob Swanson's avatar Jacob Swanson Committed by Phillip Webb

Fix mail connection test exception message

Closes gh-4780
parent 5a1ee6eb
......@@ -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