IMAP ENABLE must be supported?

This commit is contained in:
the-djmaze 2023-11-26 14:48:21 +01:00
parent 787907f42a
commit 9e124f0572

View file

@ -368,7 +368,7 @@ class ImapClient extends \MailSo\Net\NetClient
if (\is_string($mCapabilityNames)) {
$mCapabilityNames = [$mCapabilityNames];
}
if (\is_array($mCapabilityNames)) {
if (\is_array($mCapabilityNames) /*&& $this->hasCapability('ENABLE')*/) {
$this->SendRequestGetResponse('ENABLE', $mCapabilityNames);
}
}