MCPcopy Create free account
hub / github.com/M66B/FairEmail / enable

Method enable

app/src/main/java/com/sun/mail/imap/IMAPStore.java:1674–1684  ·  view source on GitHub ↗
(String capability)

Source from the content-addressed store, hash-verified

1672 }
1673
1674 public synchronized void enable(String capability) throws ProtocolException, StoreClosedException {
1675 IMAPProtocol p = null;
1676 try {
1677 p = getStoreProtocol("enable(" + capability + ")");
1678 p.enable(capability);
1679 } catch (ConnectionException cex) {
1680 throw new StoreClosedException(this, cex.getMessage());
1681 } finally {
1682 releaseStoreProtocol(p);
1683 }
1684 }
1685
1686 /**
1687 * Set the user name to be used with the PROXYAUTH command.

Callers 4

_connectMethod · 0.95
onCreateMethod · 0.45
loginMethod · 0.45
openMethod · 0.45

Calls 4

getStoreProtocolMethod · 0.95
enableMethod · 0.95
releaseStoreProtocolMethod · 0.95
getMessageMethod · 0.65

Tested by

no test coverage detected