]> granicus.if.org Git - curl/commit
imap: change from "FETCH" to "UID FETCH"
authorNicklas Avén <nicklas.aven@jordogskog.no>
Tue, 31 Jul 2018 11:12:18 +0000 (13:12 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 6 Sep 2018 08:57:48 +0000 (10:57 +0200)
commit6987fcef657710f800b05dd79ff744087b15c73d
tree47fcd664dcf9f7ee1b274c88eaa75e1faccf0837
parent2825f46d950ca9b0e269ed8dc6a97c5238a17c30
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
40 files changed:
docs/libcurl/opts/CURLOPT_URL.3
lib/imap.c
lib/imap.h
tests/data/Makefile.inc
tests/data/test1321
tests/data/test1420
tests/data/test1552
tests/data/test800
tests/data/test801
tests/data/test802
tests/data/test803
tests/data/test804
tests/data/test819
tests/data/test820
tests/data/test821
tests/data/test822
tests/data/test823
tests/data/test824
tests/data/test825
tests/data/test826
tests/data/test827
tests/data/test828
tests/data/test830
tests/data/test831
tests/data/test832
tests/data/test833
tests/data/test834
tests/data/test835
tests/data/test836
tests/data/test837
tests/data/test838
tests/data/test839
tests/data/test840
tests/data/test842
tests/data/test843
tests/data/test844
tests/data/test845
tests/data/test846
tests/data/test847 [new file with mode: 0644]
tests/ftpserver.pl