Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 863ded4

Browse files
committed
Added flag UNSEEN in Zend_Mail_Storage
Closes zendframework#532
1 parent 331a3f1 commit 863ded4

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

library/Zend/Mail/Storage.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class Zend_Mail_Storage
3131
// system flags and other flags
3232
const FLAG_PASSED = 'Passed';
3333
const FLAG_SEEN = '\Seen';
34+
const FLAG_UNSEEN = '\Unseen';
3435
const FLAG_ANSWERED = '\Answered';
3536
const FLAG_FLAGGED = '\Flagged';
3637
const FLAG_DELETED = '\Deleted';

library/Zend/Mail/Storage/Imap.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ class Zend_Mail_Storage_Imap extends Zend_Mail_Storage_Abstract
8888
protected static $_knownFlags = array('\Passed' => Zend_Mail_Storage::FLAG_PASSED,
8989
'\Answered' => Zend_Mail_Storage::FLAG_ANSWERED,
9090
'\Seen' => Zend_Mail_Storage::FLAG_SEEN,
91+
'\Unseen' => Zend_Mail_Storage::FLAG_UNSEEN,
9192
'\Deleted' => Zend_Mail_Storage::FLAG_DELETED,
9293
'\Draft' => Zend_Mail_Storage::FLAG_DRAFT,
9394
'\Flagged' => Zend_Mail_Storage::FLAG_FLAGGED);
@@ -99,6 +100,7 @@ class Zend_Mail_Storage_Imap extends Zend_Mail_Storage_Abstract
99100
protected static $_searchFlags = array('\Recent' => 'RECENT',
100101
'\Answered' => 'ANSWERED',
101102
'\Seen' => 'SEEN',
103+
'\Unseen' => 'UNSEEN',
102104
'\Deleted' => 'DELETED',
103105
'\Draft' => 'DRAFT',
104106
'\Flagged' => 'FLAGGED');

0 commit comments

Comments
 (0)