Fix for incorrectly batching up more mail after EOB, if MULTIBATCH is not agreed
This commit is contained in:
@@ -797,8 +797,7 @@ final class Binkp extends BaseProtocol
|
||||
$this->sessionSet(self::SE_RECVEOB);
|
||||
$this->sessionClear(self::SE_DELAYEOB);
|
||||
|
||||
// @todo Is this multibatch mode, if so we should check that MB hasn been agreed.
|
||||
if (! $this->send->total_count && $this->sessionGet(self::SE_NOFILES)) {
|
||||
if (! $this->send->total_count && $this->sessionGet(self::SE_NOFILES) && $this->capGet(self::F_MULTIBATCH,self::O_WE)) {
|
||||
// Add our mail to the queue if we have authenticated
|
||||
if ($this->node->aka_authed)
|
||||
foreach ($this->node->aka_remote_authed as $ao) {
|
||||
|
Reference in New Issue
Block a user