How do I get the new UID of an IMAP email that I copied to another folder?
I tried to use [imap Search] but it seems that the search does not allow to specify an exact time. So if someone sent me two messages on the same day with the same subject, I could not distinguish between them.
asked Jul 17 '14 at 07:07
Use code like this to copy and get uid:
answered Jul 17 '14 at 08:24