MimePart


Object Hierarchy:

Object hierarchy for MimePart

Description:

[ CCode ( type_id = "camel_mime_part_get_type ()" ) ]
public class MimePart : Medium

A single part in a MIME message.

MimePart is a Medium subclass that represents one part of a MIME message. It can be a top-level message body or one part in a multipart container.

It adds structured, UTF-8 accessors for the standard Content-* MIME headers:

  • Content-Disposition (including the filename parameter)
  • Content-Description
  • Content-ID
  • Content-MD5
  • Content-Location
  • Content-Languages
  • Content-Transfer-Encoding

All string accessors transparently perform RFC 2047 decoding/encoding as needed. The filename is also mirrored on the Content-Type name parameter for interoperability.

A MimePart can be constructed directly from a MimeParser via construct_from_parser.

All known sub-classes:

Namespace: Camel
Package: camel-1.2

Content:

Properties:

Creation methods:

Methods:

Inherited Members: