diff --git a/src/java/davmail/imap/ImapConnection.java b/src/java/davmail/imap/ImapConnection.java index 5ff29514..cbea2aca 100644 --- a/src/java/davmail/imap/ImapConnection.java +++ b/src/java/davmail/imap/ImapConnection.java @@ -201,6 +201,8 @@ public class ImapConnection extends AbstractConnection { } else { sendClient(commandId + " OK [READ-ONLY] " + command + " completed"); } + } catch (HttpNotFoundException e) { + sendClient(commandId + " NO Not found"); } catch (HttpForbiddenException e) { sendClient(commandId + " NO Forbidden"); }