Enable X-UIDONLY if available

This commit is contained in:
M66B
2022-01-28 18:08:38 +01:00
parent ecb614d42f
commit a26376eda5
2 changed files with 21 additions and 0 deletions

View File

@@ -1652,6 +1652,18 @@ public class IMAPStore extends Store
}
}
public synchronized void enable(String capability) throws ProtocolException, StoreClosedException {
IMAPProtocol p = null;
try {
p = getStoreProtocol("enable(" + capability + ")");
p.enable(capability);
} catch (ConnectionException cex) {
throw new StoreClosedException(this, cex.getMessage());
} finally {
releaseStoreProtocol(p);
}
}
/**
* Set the user name to be used with the PROXYAUTH command.
* The PROXYAUTH user name can also be set using the