Class

CamelMultipart

Description

class Camel.Multipart : Camel.DataWrapper {
  parent: CamelDataWrapper,
  priv: CamelMultipartPrivate*
}
No description available.

Constructors

camel_multipart_new

Create a new CamelMultipart object.

Instance methods

camel_multipart_add_part

Appends the part to the multipart object.

camel_multipart_construct_from_parser

Construct a multipart from a parser.

camel_multipart_generate_preview

Generates preview of the multipart, to be used in the interface, read by the users.

since: 3.52

camel_multipart_get_boundary
No description available.

camel_multipart_get_number
No description available.

camel_multipart_get_part
No description available.

camel_multipart_get_postface

Returns the postface text for multipart.

since: 3.12

camel_multipart_get_preface

Returns the preface text for multipart.

since: 3.12

camel_multipart_set_boundary

Sets the message boundary for multipart to boundary. This should be a string which does not occur anywhere in any of multiparts subparts. If boundary is NULL, a randomly-generated boundary will be used.

camel_multipart_set_postface

Set the postface text for this multipart. Will be written out after the last boundary of the multipart, and ignored by any MIME mail client.

camel_multipart_set_preface

Set the preface text for this multipart. Will be written out infront of the multipart. This text should only include US-ASCII strings, and be relatively short, and will be ignored by any MIME mail client.

Methods inherited from CamelDataWrapper (31)

Please see CamelDataWrapper for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct CamelMultipartClass {
  CamelDataWrapperClass parent_class;
  void (* add_part) (
    CamelMultipart* multipart,
    CamelMimePart* part
  );
  CamelMimePart* (* get_part) (
    CamelMultipart* multipart,
    guint index
  );
  guint (* get_number) (
    CamelMultipart* multipart
  );
  const gchar* (* get_boundary) (
    CamelMultipart* multipart
  );
  void (* set_boundary) (
    CamelMultipart* multipart,
    const gchar* boundary
  );
  gint (* construct_from_parser) (
    CamelMultipart* multipart,
    CamelMimeParser* parser
  );
  gchar* (* generate_preview) (
    CamelMultipart* multipart,
    CamelGeneratePreviewFunc func,
    gpointer user_data
  );
  None reserved;
  
}
No description available.
Class members
parent_class: CamelDataWrapperClass
No description available.
add_part: void (* add_part) ( CamelMultipart* multipart, CamelMimePart* part )
No description available.
get_part: CamelMimePart* (* get_part) ( CamelMultipart* multipart, guint index )
No description available.
get_number: guint (* get_number) ( CamelMultipart* multipart )
No description available.
get_boundary: const gchar* (* get_boundary) ( CamelMultipart* multipart )
No description available.
set_boundary: void (* set_boundary) ( CamelMultipart* multipart, const gchar* boundary )
No description available.
construct_from_parser: gint (* construct_from_parser) ( CamelMultipart* multipart, CamelMimeParser* parser )
No description available.
generate_preview: gchar* (* generate_preview) ( CamelMultipart* multipart, CamelGeneratePreviewFunc func, gpointer user_data )
No description available.
reserved: None
No description available.

Virtual methods

Camel.MultipartClass.add_part

Appends the part to the multipart object.

Camel.MultipartClass.construct_from_parser

Construct a multipart from a parser.

Camel.MultipartClass.generate_preview

Generates preview of the multipart, to be used in the interface, read by the users.

since: 3.52

Camel.MultipartClass.get_boundary
No description available.

Camel.MultipartClass.get_number
No description available.

Camel.MultipartClass.get_part
No description available.

Camel.MultipartClass.set_boundary

Sets the message boundary for multipart to boundary. This should be a string which does not occur anywhere in any of multiparts subparts. If boundary is NULL, a randomly-generated boundary will be used.