Re: IMAP4 Flags Modifications

"DINH Viêt Hoà" <[email protected]> Sat, 8 Sep 2007 13:11:51 +0200
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
On 9/7/07, Simon Banks <[email protected]> wrote:
> Hi Chaps,

Hello,

> I'm nearly there on the finished product..  Well be going live with a
> major North American Service Provider within the next few weeks.

For information, could I be informed about the name of this Service Provider ?
(You can send me by private email)
I would also be interested by a feedback of the use of the library.

> However I've noticed some interested issues around IMAP4 flags
> modifications and I was wondering if somebody would help me understand
> how libetpan modifies envelope flags.
>
> I've some code which does mailmessage_get_flags() and then after
> applying my modifications calls mailmessage_check() but I'm unsure when
> the flags get updated on the remote system.  Is there a flags flush
> function I can confirm they will be set?
>
> Also whats the difference between mailfolder_check() and
> mailmessage_check(), is one more effient that the other?

mailmessage_check() will inform the "mailfolder" object that flags of
a message have changed.
mailfolder_check() will store the flags of the messages on which
mailmessage_check() has been called.

Regards,

-- 
DINH Viêt Hoà

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/