imap4d: fix FETCH (BODYSTRUCTURE)
* imap4d/fetch.c (bodystructure): Do not emit CHARSET pair if there is none in the Content-Type header. (fetch_get_part_rfc822): Use mu_message_unencapsulate * libmailutils/mime/attachment.c (mu_message_unencapsulate): Use mu_stream_to_message to create destination message. This ensures that the latter can be handled by other MU functions (e.g. mu_header_* family).
Showing
2 changed files
with
9 additions
and
31 deletions
-
Please register or sign in to post a comment