Re: [Imap-protocol] COPYUID message order

Arnt Gulbrandsen <[email protected]> Tue, 26 May 2015 18:07:15 +0100
Newsgroups gmane.mail.imap.general
Message-ID <[email protected]>
Bill Shannon writes:
> I'd like to be able to report the status of each message that 
> was requested to be copied.  If one of the messages was not 
> copied for some reason, and so is left out of the returned list 
> of source UIDs, how do I figure out which one that was?  Without 
> a complete map from sequence number to UID, it seems that the 
> COPYUID response code for the simple COPY command may not be 
> sufficient.

True. For that case you'll need to issue "FETCH ... UID" and then "COPY ... 
target" (without waiting). When you have received tagged responses for 
both, you know that your MSN-UID map is contains all the necessary UIDs and 
you can process the COPYUID response code completely.

Arnt

_______________________________________________
Imap-protocol mailing list
[email protected]
http://mailman13.u.washington.edu/mailman/listinfo/imap-protocol