Added workaround for Migadu

master
M66B 2 months ago
parent 538523dded
commit cb821dc04f

@ -1670,7 +1670,12 @@ public class IMAPProtocol extends Protocol {
* @see "RFC2060, section 6.4.2"
*/
public void close() throws ProtocolException {
try {
simpleCommand("CLOSE", null);
} catch (CommandFailedException ex) {
if (ex.getMessage() == null || !ex.getMessage().contains("Mailbox is read-only (opened with EXAMINE)")) // Migadu
throw ex;
}
}
/**

Loading…
Cancel
Save