Class
CamelMultipart
Instance methods
camel_multipart_generate_preview
Generates preview of the multipart
, to be used in the interface,
read by the users.
since: 3.52
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 multipart
‘s
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.
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;
}
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.generate_preview
Generates preview of the multipart
, to be used in the interface,
read by the users.
since: 3.52
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 multipart
‘s
subparts. If boundary
is NULL
, a randomly-generated boundary will
be used.