From: Steve Holme Date: Fri, 2 Aug 2013 09:08:55 +0000 (+0100) Subject: DOCS: Added IMAP URL example for listing new messages X-Git-Tag: curl-7_32_0~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=82ab5f1b0c7c3f45f6d0f92d2ba16b3db4a2fce9;p=curl 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. --- 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