Re: [Evolution-hackers] Status of mail-refactor-2 branch todo
- From: Not Zed <notzed ximian com>
- To: Dan Winship <danw ximian com>
- Cc: Ettore Perazzoli <ettore ximian com>, Brett Johnson <brett fc hp com>, evolution-hackers lists ximian com
- Subject: Re: [Evolution-hackers] Status of mail-refactor-2 branch todo
- Date: Mon, 08 Sep 2003 14:12:36 -0500
you're definition of 'not hard' isn't mine :)
On Mon, 2003-09-08 at 12:32, Dan Winship wrote:
> > > "First new unread" wouldn't be hard. We'd just have to decide when a
> >
> > You think? We'd have to track every uid that was there since last we
> > started the mailer - ugh.
>
> Well, if you make CamelFolder do it, then in the IMAP case, it can just
> note what the highest UID was in the summary before it scanned for new
> messages, and then find the first unread message with a UID higher than
> that. (Providers that don't have strictly increasing UIDs, like
> Connector, would need to do things a little differently.)
>
> Or if you don't want to involve the provider, do camel_store_get_folder,
> set "CAMEL_MESSAGE_OLD" on every message in the folder, then do
> camel_folder_refresh and find the first message without the flag.
>
> -- Dan
> _______________________________________________
> evolution-hackers maillist - evolution-hackers lists ximian com
> http://lists.ximian.com/mailman/listinfo/evolution-hackers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]