Mailman.Attachment

A struct defining an attachable file. It automatically detect the mime type based on file extension.

Source

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()

Functions

inline(file_path)

Get the attachment struct for given by path file from the file system

Source
inline!(file_path)

Get the attachment struct for given by path file from the file system and throw an error if anything goes wrong.

Source
mime_full_for_path(path)
Source
mime_sub_type_for_path(path)
Source
mime_type_for_path(path)
Source
mime_types()
Source