summaryrefslogtreecommitdiff
path: root/docs/examples/imap-append.c
diff options
context:
space:
mode:
authorMargu <44941663+Margu86@users.noreply.github.com>2023-06-30 08:32:13 +0200
committerDaniel Stenberg <daniel@haxx.se>2023-07-09 18:58:39 +0200
commit9bf89bdc5b4cb0062e5bd14ba83328f3ea90124e (patch)
tree9820c9d5ffdf93b5015bd79d6b1199ac1de043f2 /docs/examples/imap-append.c
parent8484ad09da10674e62dcd8acc31ff42d67938b67 (diff)
imap-append.c: update to make it more likely to work
Fixes #10300 Closes #11397
Diffstat (limited to 'docs/examples/imap-append.c')
-rw-r--r--docs/examples/imap-append.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/examples/imap-append.c b/docs/examples/imap-append.c
index 1abfda3fd..e87e1acaa 100644
--- a/docs/examples/imap-append.c
+++ b/docs/examples/imap-append.c
@@ -99,10 +99,8 @@ int main(void)
curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
- /* This will create a new message 100. Note that you should perform an
- * EXAMINE command to obtain the UID of the next message to create and a
- * SELECT to ensure you are creating the message in the OUTBOX. */
- curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com/100");
+ /* This will create a new message in folder "Sent". */
+ curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com/Sent");
/* In this case, we are using a callback function to specify the data. You
* could just use the CURLOPT_READDATA option to specify a FILE pointer to