[ libetpan-Bugs-3185739 ] 'New' message flag not set correctly

"SourceForge.net" <[email protected]> Sun, 27 Feb 2011 01:09:26 +0000
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
Bugs item #3185739, was opened at 2011-02-18 13:01
Message generated for change (Comment added) made by hoa
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=3185739&group_id=41064

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: IMAP4
Group: Latest stable - libEtPan!
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: 'New' message flag not set correctly

Initial Comment:
Fetching the flags attribute (MAILIMAP_FETCH_ATT_FLAGS) of a mail with the call mailimap_fetch_type_new_fetch_att_list_add(...) returns 0 for a message which should have the flag MAIL_FLAG_NEW. Anyways, the method mailmessage_get_flags(...) does it's job correctly.

Can anybody verify this?

I'm using libetpan 1.0 on iOS 4.2

----------------------------------------------------------------------

>Comment By: DINH V. Hoa (hoa)
Date: 2011-02-27 02:09

Message:
Hi!

You should rather check:

struct mailimap_flag_fetch {
  int fl_type;
  struct mailimap_flag * fl_flag; /* can be NULL */
};

if fl_type is MAILIMAP_FLAG_FETCH_RECENT, that means, that the recent flag
is set.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=3185739&group_id=41064

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev