mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Handle common mistake
This commit is contained in:
@@ -349,6 +349,11 @@ public class EmailService implements AutoCloseable {
|
||||
throw mex;
|
||||
} else
|
||||
throw ex;
|
||||
} catch (MessagingException ex) {
|
||||
if (port == 995 && !("pop3".equals(protocol) || "pop3s".equals(protocol)))
|
||||
throw new MessagingException("Please double check the port number", ex);
|
||||
else
|
||||
throw ex;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user