[Users] Mail fetch question.

Colin Leroy colin at colino.net
Sun Apr 7 20:47:26 CEST 2013


On 07 April 2013 at 12h00, Mark Filipak wrote:

Hi, 

> > Neither. In between they are stored in a temp folder.  
> 
> That's inefficient. What happens if the app or computer crashes in
> the mean time?

They usually get downloaded again and there can be duplicates. 

> May I suggest you _not_ use a temp folder, that you store the
> incoming in the Inbox. But as they are received, scoreboard the files
> in a temp file. At the end, simply process the scoreboard. If things
> crash, on relaunch, look to see whether the scoreboard still exists.
> If it does, finish the filtering. Of course, you should always check
> for the existence of the scoreboard on every launch.

Patches welcome!

-- 
Colin
Please forgive any typo, I'm typing one-handed for a few days
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20130407/d72d4b2d/attachment.sig>


More information about the Users mailing list