MIME-Fast

 view release on metacpan or  search on metacpan

Fast.pod  view on Meta::CPAN


=head2 MIME::Fast::MultiPart

=over 4

=item I<new> ()

=item I<new> (subtype = "mixed")

Class method.
Creates a new MIME::Fast::MultiPart object with a default content-type of
multipart/mixed.

=item I<set_preface> (text)

=item I<get_preface> ()

Sets or gets the preface on the multipart.

=item I<set_postface> (text)

Fast.pod  view on Meta::CPAN

should be a MIME::Fast::ContentType object.
E.g.

    $type = $part->get_content_type;
    print "Type of $part is " . $type->to_string;

=item I<set_content_type_parameter> ($name, $value)

=item I<get_content_type_parameter> ($name)

Sets or gets the value of the content-type param $name set on the MIME part object.

=item I<set_content_id> (content_id)

=item I<get_content_id> ()

Set and get content id (Content-Id) on the MIME part object.

=item I<set_header>(field, value)

Set a message header to the MIME object.

Fast.pod  view on Meta::CPAN

or undef if it is US-ASCII safe.

=back

=head2 MIME::Fast::MessagePart

=over 4

=item I<new> (subtype = "rfc822" [, message])

Creates a new MIME message part object with a default content-type
of message/$subtype (optionally containing $message object).

=item I<set_message> (message)

=item I<get_message> ()

Sets or gets the MIME::Fast::Message object on the message part object.

=back



( run in 1.666 second using v1.01-cache-2.11-cpan-524268b4103 )