mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-10-05 01:22:16 +02:00
retrieve Capabilities after Login, as this is required to get the real capabilities of the server where your mails reside on
This commit is contained in:
parent
344a618ac1
commit
6f48101d15
@ -154,7 +154,7 @@ class Net_IMAP extends Net_IMAPProtocol {
|
||||
return new PEAR_Error($ret["RESPONSE"]["CODE"] . ", " . $ret["RESPONSE"]["STR_CODE"]);
|
||||
}
|
||||
}
|
||||
|
||||
$this->cmdCapability();
|
||||
if($selectMailbox){
|
||||
//Select INBOX
|
||||
if ( PEAR::isError( $ret=$this->cmdSelect( $this->getCurrentMailbox() ) ) ) {
|
||||
@ -233,7 +233,7 @@ class Net_IMAP extends Net_IMAPProtocol {
|
||||
}
|
||||
if (!empty($flagsString))
|
||||
{
|
||||
foreach (array('$label1','$label2','$label3','$label4','$label5','\*') as $i =>$kw)
|
||||
foreach (array('$label1','$label2','$label3','$label4','$label5','\*') as $i =>$kw)
|
||||
{
|
||||
if (stripos($flagsString,$kw) !== false)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user