[PATCH 2/4] Handle when UID can't be found on saved messages
Sebastian at SSpaeth.de
Tue Aug 9 07:43:26 BST 2011
On Sun, 31 Jul 2011 10:48:24 +0200, Vladimir.Marek at oracle.com wrote:
> From: Vladimir Marek <vlmarek at volny.cz>
> Message was stored to dstfolder, but we can't find it's UID. This means we can't
> link current message to the one created in IMAP. So we just delete local message
> and on next run we'll sync it back. Also fixed imap.savemessage description.
As I already said in my yesterdays mail. I am not so sure we should
simply delete local mail if something seems to have gone wrong on the
remote end (I know that this is how it used to operate).
We should rather fix the reason why we are not receiving back a UID. At
the very, very least I would prefer if we log a big fat error warning in
this situation, so that the user can check and take action.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the OfflineIMAP-project