I need help creating an IMAP fetch command to get only a specific mime attachment without retrieving the whole body or another application. Given the following body structure
(BODYSTRUCTURE (("text" "html" ("charset" "utf-8") NIL NIL "base64" 568 8 NIL NIL NIL) "mixed" ("boundary" "===============0621936444==") NIL NIL))
What would the fetch command look like to extract the text / html part? I read section 6.4.5 of RFC3501 several times, but I still don't understand it. Any pointers to additional sample query requests for mime attachments will also be appreciated.
source
share