DOCS: Added IMAP URL example for listing new messages
authorSteve Holme <steve_holme@hotmail.com>
Fri, 2 Aug 2013 09:08:55 +0000 (10:08 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Fri, 2 Aug 2013 09:08:55 +0000 (10:08 +0100)
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

index bebf8c0..f643c81 100644 (file)
@@ -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