Subject: | Problem with the way the current folder is remembered / used |
If you have a folder that needs to be sent to the server as a literal, then doing:
$imap->examine($foldername);
$imap->message_count();
will break as IMAPClient sends the literal encoded twice. It appears $self->Folder is remembered as the literal, but the "status" subroutine blindly re-literalises the foldername when it calls
$box = $self->Massage($box);
To work around the bug, the following works:
$imap->examine($foldername);
$imap->message_count($foldername);