Martin Brennan 3d2cace94f
DEV: Add service to validate email settings (#13021)
We have a few places in the code where we need to validate various email related settings, and will have another soon with the improved group email settings UI. This PR introduces a class which can validate POP3, IMAP, and SMTP credentials and also provide a friendly error message for issues if they must be presented to an end user.

This PR does not change any existing code to use the new service. I have added a TODO to change POP3 validation and the email test rake task to use the new validator post-release.
2021-05-13 15:11:23 +10:00
..
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-02-09 14:56:15 +01:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-04-27 16:01:06 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-03-30 15:44:13 +02:00
2021-04-20 15:33:17 +02:00
2021-04-20 15:33:17 +02:00
2021-03-09 15:19:02 +01:00
2021-04-27 16:01:06 +02:00
2021-03-09 15:19:02 +01:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-04-20 15:33:17 +02:00
2021-02-23 15:10:04 +01:00
2021-05-04 16:34:37 +02:00
2021-03-23 16:12:04 +01:00
2021-04-27 16:01:06 +02:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-04-27 16:01:06 +02:00
2021-05-11 19:01:59 +02:00
2021-04-20 15:33:17 +02:00
2021-04-20 15:33:17 +02:00
2020-10-30 16:06:32 +01:00
2021-05-11 19:01:59 +02:00
2021-04-20 15:33:17 +02:00
2021-05-04 16:34:37 +02:00
2021-02-23 15:10:04 +01:00
2021-02-23 15:10:04 +01:00
2021-04-20 15:33:17 +02:00
2021-05-11 19:01:59 +02:00
2021-05-04 16:34:37 +02:00
2021-05-04 16:34:37 +02:00
2021-04-20 15:33:17 +02:00
2021-04-27 16:01:06 +02:00
2021-05-11 19:01:59 +02:00
2021-03-09 15:19:02 +01:00
2021-04-20 15:33:17 +02:00
2021-03-09 15:19:02 +01:00
2021-04-07 11:58:41 +02:00
2021-05-11 19:01:59 +02:00
2021-04-20 15:33:17 +02:00
2021-02-23 15:10:04 +01:00
2021-02-23 15:10:04 +01:00
2021-05-11 19:01:59 +02:00
2021-05-11 19:01:59 +02:00
2021-04-27 16:01:06 +02:00
2021-04-20 15:33:17 +02:00
2021-05-11 19:01:59 +02:00
2021-04-20 15:33:17 +02:00
2017-02-24 11:35:33 +01:00