cURL / Mailing Lists / curl-library / Single Mail

curl-library

How to get only mailtext with libCurl C++?

From: Jules van der Toorn <jules_at_nuisdedag.nl>
Date: Sat, 27 Feb 2016 17:32:13 +0100

Hi,
Recently is asked how to only get the subject of an email, and you
responded with this:
curl_easy_setopt(curl, CURLOPT_URL, "imaps://
imap.gmail.com:993/INBOX/;UID=*;SECTION=HEADER%2EFIELDS%20%28SUBJECT%29");

which works perfectly. However, now i want to know how to only receive the
mailtext (or better: how to only receive the first line of the mailtext).
Thanks!

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-02-27