[−][src]Function melib::email::compose::attachment_from_file
pub fn attachment_from_file<I>(path: &I) -> Result<AttachmentBuilder> where
I: AsRef<OsStr>,
Reads file from given path, and returns an 'application/octet-stream' AttachmentBuilder object