curl-library
Re: Question about CURLOPT_CUSTOMREQUEST in IMAP program
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 5 May 2018 14:02:33 +0200 (CEST)
Date: Sat, 5 May 2018 14:02:33 +0200 (CEST)
On Sat, 5 May 2018, kinglt wrote:
> curl_easy_setopt(chdl, CURLOPT_CUSTOMREQUEST, "FETCH 2
> BODY[TEXT]");
The CURLOPT_URL man page section for IMAP says you should specify that in the
URL, did you try that?
"imap://user:password_at_mail.example.com/INBOX/;UID=3/;SECTION=TEXT - Selects
the user's inbox and fetches the text portion of message 3"
-- / daniel.haxx.se ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2018-05-05