MIME::Field::ContDisp(3) User Contributed Perl Documentation MIME::Field::ContDisp(3)

MIME::Field::ContDisp - a "Content-disposition" field

A subclass of Mail::Field.

Don't use this class directly... its name may change in the future! Instead, ask Mail::Field for new instances based on the field name!

use Mail::Field;
use MIME::Head;
# Create an instance from some text:
$field = Mail::Field->new('Content-disposition', $text);
# Inline or attachment?
$type = $field->type;
# Recommended filename?
$filename = $field->filename;

MIME::Field::ParamVal, Mail::Field

Eryq (eryq@zeegee.com), ZeeGee Software Inc (http://www.zeegee.com). Dianne Skoll (dianne@skoll.ca)

2024-04-28 perl v5.38.2