TMimePart.MimeTypeFromExt
TMimePart
procedure MimeTypeFromExt(Value: string);
Unit
MIMEpart
Description
generate primary and secondary mime type from filename extension in value. If type not recognised, return 'Application/octet-string' type.
See also:
Primary, PrimaryCode, Secondary