[imapfilter-devel] Problem with has_flag() on Exchange 2010 IMAP server

Bernd Kuemmerlen bkuemmer at gmx.net
Fri Jan 14 11:15:58 EET 2011


Lefteris Chatzimparmpas wrote:
> Hello,
>
> Can you try like this?
>
>    results = account2.Test:is_flagged()

This seems to work:

C (4): 100C SELECT "Test"
S (4): 100C OK [READ-WRITE] SELECT completed.
C (4): 100D UID SEARCH ALL FLAGGED
S (4): 100D OK SEARCH completed.
table: 0x451510
C (4): 100E UID FETCH 20 FLAGS
S (4): 100E OK FETCH completed.
UID:    20      Text:   table: 0x451760
1       \Seen
2       \Flagged
C (4): 100F LOGOUT
S (4): 100F OK LOGOUT completed.

Thanks a lot, I will use is_flagged() instead of has_flag() for now.

Cheers,
     Bernd


More information about the Imapfilter-devel mailing list