Revert "Handle provider not found"

This reverts commit fdce403c26.
This commit is contained in:
M66B
2022-05-18 09:46:05 +02:00
parent a368e807af
commit 95b411f5c2
2 changed files with 1 additions and 7 deletions

View File

@@ -47,7 +47,6 @@ import com.sun.mail.util.SocketConnectException;
import com.sun.mail.util.TraceOutputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintStream;
@@ -457,8 +456,6 @@ public class EmailService implements AutoCloseable {
try {
authenticator.refreshToken(true);
connect(host, port, auth, user, factory);
} catch (FileNotFoundException ex1) {
throw new AuthenticationFailedException(ex1.getMessage(), ex1);
} catch (Exception ex1) {
Log.e(ex1);
String msg = ex.getMessage();