From 82ab5f1b0c7c3f45f6d0f92d2ba16b3db4a2fce9 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Fri, 2 Aug 2013 10:08:55 +0100 Subject: 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. --- docs/libcurl/curl_easy_setopt.3 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/libcurl/curl_easy_setopt.3') 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 -- cgit v1.2.3