aboutsummaryrefslogtreecommitdiff
path: root/lib/imap.h
diff options
context:
space:
mode:
authorNicklas Avén <nicklas.aven@jordogskog.no>2018-07-31 13:12:18 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-09-06 10:57:48 +0200
commit6987fcef657710f800b05dd79ff744087b15c73d (patch)
tree47fcd664dcf9f7ee1b274c88eaa75e1faccf0837 /lib/imap.h
parent2825f46d950ca9b0e269ed8dc6a97c5238a17c30 (diff)
imap: change from "FETCH" to "UID FETCH"
... and add "MAILINDEX". As described in #2789, this is a suggested solution. Changing UID=xx to actually get mail with UID xx and add "MAILINDEX" to get a mail with a special index in the mail box (old behavior). So MAILINDEX=1 gives the first non deleted mail in the mail box. Fixes #2789 Closes #2815
Diffstat (limited to 'lib/imap.h')
-rw-r--r--lib/imap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/imap.h b/lib/imap.h
index 9fc4ff5a3..0efcfd293 100644
--- a/lib/imap.h
+++ b/lib/imap.h
@@ -58,6 +58,7 @@ struct IMAP {
char *mailbox; /* Mailbox to select */
char *uidvalidity; /* UIDVALIDITY to check in select */
char *uid; /* Message UID to fetch */
+ char *mindex; /* Index in mail box of mail to fetch */
char *section; /* Message SECTION to fetch */
char *partial; /* Message PARTIAL to fetch */
char *query; /* Query to search for */