curl-library
Re: How to get only mailtext with libCurl C++?
From: Ray Satiro via curl-library <curl-library_at_cool.haxx.se>
Date: Sat, 27 Feb 2016 15:20:13 -0500
Date: Sat, 27 Feb 2016 15:20:13 -0500
On 2/27/2016 2:48 PM, Ray Satiro wrote:
> For more information on SECTION 1 (TEXT/PLAIN refer to
> BODY[<section>]) and PARTIAL see 6.4.5 and 6.4.6 of RFC1730:
> https://tools.ietf.org/html/rfc1730#section-6.4.5
>
Oops that is the old RFC, instead refer to RFC 3501
https://tools.ietf.org/html/rfc3501#section-6.4.5
Also, it is possible to pull out the individual message parts by first
parsing BODYSTRUCTURE. In that case I think you'd be better off with an
imap library, for example see http://www.etpan.org/libetpan.html
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-02-27