Mailman.Attachment
A struct defining an attachable file. It automatically detect the mime type based on file extension.
Summary
inline!(file_path) | Get the attachment struct for given by path file from the file system and throw an error if anything goes wrong |
inline(file_path) | Get the attachment struct for given by path file from the file system |
mime_full_for_path(path) | |
mime_sub_type_for_path(path) | |
mime_type_for_path(path) | |
mime_types() |