[−][src]Function tnef::read_attachments
pub fn read_attachments(buf: &[u8]) -> Result<Vec<Attachment>, Error>
Convenience function for extracting attachments from TNEF data.
It assumes that attachments always contains the following fields:
title
, data
, create_date
, modify_date
, rend_data
and props
.
If one of those fields is missing the attachment will be ignored.