4 ms·
I'm really not sure to be honest. It does seem like you could do something weird with IMAP to make it work, but every implementation I know of uses a server.
by Lazare 9y ago
I'm really not sure to be honest. It does seem like you could do something weird with IMAP to make it work, but every implementation I know of uses a server.
- crispinb 9y agoFair enough. It was just an idle thought.
- kwhitefoot 9y agoWhy is it regarded as weird to use IMAP for this? It seems like an obvious use for IMAP.
- crispinb 9y agoI don't know IMAP beyond the very basics, but I presumed that it doesn't include facilities for adding metadata. Correct me if I'm wrong! So if you wanted to store snoozing info, you'd have to encode that oddly somewhere -- in a fake email item name? Or as an added mail header (if it's considered polite for clients to add them)?
- _jal 9y agoUsing a header works fine - making up your own is legal. I've been known to add headers for entertainment purposes.
- Arnt 9y agoYou can't write headers to messages you receive.The only way is to download the message (including the three 78MB PDF attachments you got from that graphic designer), add the header field, upload everything and delete the first message. But if your longish snoozes end at the same time, you can use a flag. (IMAP's cache semantics say: If you download a part of the message it stays valid. Other people cannot change what you have downloaded.)
- _jal 9y agoI'm aware of that. Not saying it is the right method, just that it is the best general method we have. And I'm also thankful that I trade mail with far fewer designers these days.
- vhbit 9y agoAs I remember IMAP allows to add freeform flags to every message.
- StavrosK 9y agoIIRC that's how gmail implements its labels.
- pferde 9y agoI don't think so, since gmail had labels before they added IMAP support. Also, when accessing gmail via IMAP, you see the labels as IMAP folders, which leads me to believe that they just bolted the IMAP interface on top of whatever backend they use to store messages internally.
- StavrosK 9y agoI meant that that's how they implemented labels for their IMAP support, but you may be right, they may be folders instead.
- kwhitefoot 9y agoI have used the subject for metadata as a way of storing backup files in IMAP. You can also use tags and as someone else mentioned you can do all sorts of things with headers.
- e12e 9y agoIf your client(s) handle the snoozing, copy "snoozed" messages to the "Snooze" folder (like "Draft", "Sent") - and check the date/time before copying it back to the "Inbox" as unread? If there's no meta-data readily availabile over IMAP (last modified...), maybe use "Snooze/deliver-at-1205-10102017" - a subfolder for each time slot?