Skip to main content

MAX_ATTACHMENT_MIME_LEN

Constant MAX_ATTACHMENT_MIME_LEN 

Source
pub const MAX_ATTACHMENT_MIME_LEN: usize = 255;
Expand description

Longest accepted attachment media type.

RFC 6838 bounds a type and a subtype at 127 characters each, so this accepts every registered name and leaves nothing to argue about.