mirror of https://git.meli.delivery/meli/meli
melib/imap: set has_attachments based on BODYSTRUCTURE
fetch BODYSTRUCTURE along with ENVELOPE from server and set has_attachments based on the MIME structure of the envelope. Notes: BODYSTRUCTURE returns the MIME structure of the envelope without the data, so if it includes a multipart/mixed it *should* have attachments. ENVELOPE returns basic headers of the message like Sender, Subject, Date etc.jmap
parent
b2cd4f4b7a
commit
fc2d9a684d
Loading…
Reference in New Issue