Open pedromorgan opened 9 years ago
Use the As* functions to navigate the returned structure. See https://github.com/mxk/go-imap/blob/master/imap/response.go#L266 for an example and https://tools.ietf.org/html/rfc3501#section-7.4.2 for a description of BODYSTRUCTURE. There is also a test example: https://github.com/mxk/go-imap/blob/master/imap/reader_test.go#L519.
How do I parse BODYSTRUCTURE, as I want to find the attachments..
Using
and then,
Prints