aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-08-02 10:08:55 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-08-02 10:08:55 +0100
commit82ab5f1b0c7c3f45f6d0f92d2ba16b3db4a2fce9 (patch)
tree8d1033f3bdac47426703be775c38798a67631b67 /docs/libcurl
parent7ae64af36841b87b504d85f850fbb7edc6ccb832 (diff)
DOCS: Added IMAP URL example for listing new messages
In addition to listing the folder contents, in the URL examples, added an example to list the new messages waiting in the user's inbox.
Diffstat (limited to 'docs/libcurl')
-rw-r--r--docs/libcurl/curl_easy_setopt.33
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3
index bebf8c08d..f643c81f8 100644
--- a/docs/libcurl/curl_easy_setopt.3
+++ b/docs/libcurl/curl_easy_setopt.3
@@ -825,6 +825,9 @@ imap://user:password@mail.example.com - Performs a top level folder list
imap://user:password@mail.example.com/INBOX - Performs a folder list on the
user's inbox
+imap://user:password@mail.example.com/INBOX -X "SEARCH NEW" - This lists the
+new messages in the user's inbox.
+
imap://user:password@mail.example.com/INBOX/;UID=1 - Selects the user's inbox
and fetches message 1