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