Hi,
I tried to use the new 'setFlag' feature in filters, and first created
a filter rule to mark as read all the incoming messages that are from me
(I tend to bcc me a lot...). This filter is associated to a POP folder,
and other filters will move the message to its destination folder.
If it happens that the destination folder (a local MBX file) for a new
(but marked as read, because from me) message is the one currently
displayed, the handling of the message is not correct.
What happens is that the status of the folder is updated correctly (the
number of message displayed after the folder's name is increased) but
there is no trace of the message in the message list. I have to close
the folder and re-open it for the just arrived message to be displayed.
I guess that this may have to do with the following lines of
MailFolderCC.cpp, starting from 4489, in the OnNewMail method:
// only find the new new messages, i.e. the ones which we hadn't reported
// yet
UIdArray *uidsNew = SearchByFlag
(
MSG_STAT_NEW,
SEARCH_SET | SEARCH_UNDELETED | SEARCH_UID,
m_uidLastNew == UID_ILLEGAL ? 0 : m_uidLastNew
);
if ( uidsNew )
{
size_t count = uidsNew->GetCount();
if ( count )
In my case, count is 0 as the incoming message is already read...
--
Xavier Nodet
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." - Benjamin Franklin, 1759.
-------------------------------------------------------
This sf.net email is sponsored by:
Access Your PC Securely with GoToMyPC. Try Free Now
https://www.gotomypc.com/s/OSND/DD
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers