Camel.MimeMessage – camel-1.2 Reference Manual
Packages
camel-1.2
Camel
MimeMessage
MimeMessage
build_mbox_from
dump
encode_8bit_parts
foreach_part
get_date
get_date_received
get_from
get_message_id
get_part_by_content_id
get_recipients
get_reply_to
get_source
get_subject
has_8bit_parts
has_attachment
set_best_encoding
set_date
set_from
set_message_id
set_recipients
set_reply_to
set_source
set_subject
MimeMessage
Object Hierarchy:
Description:
[
CCode
( type_id =
"camel_mime_message_get_type ()"
) ]
public
class
MimeMessage
:
MimePart
Namespace:
Camel
Package:
camel-1.2
Content:
Creation methods:
public
MimeMessage
()
Create a new
MimeMessage
object.
Methods:
public
string
build_mbox_from
()
Build an MBox from-line from
this
.
public
void
dump
(
int
body)
Dump information about the mime message to stdout.
public
void
encode_8bit_parts
()
Encode all message parts to a suitable transfer encoding for transport (7bit clean).
public
void
foreach_part
(
ForeachPartFunc
callback)
Calls
callback
for each part of the
this
, including the message itself.
public
time_t
get_date
(
out
int
offset)
Get the date and UTC offset of a message.
public
time_t
get_date_received
(
out
int
offset)
Get the received date and UTC offset of a message.
public
unowned
InternetAddress
?
get_from
()
Get the from address of a message.
public
unowned
string
?
get_message_id
()
Get the message-id of a message.
public
unowned
MimePart
?
get_part_by_content_id
(
string
content_id)
Get a MIME part by id from a message.
public
unowned
InternetAddress
?
get_recipients
(
string
type)
Get the message recipients of a specified type.
public
unowned
InternetAddress
?
get_reply_to
()
Get the Reply-To of a message.
public
unowned
string
?
get_source
()
Get the UID of the source account of the message.
public
unowned
string
?
get_subject
()
Get the UTF-8 subject text of a message.
public
bool
has_8bit_parts
()
Find out if a message contains 8bit or binary encoded parts.
public
bool
has_attachment
()
Returns whether message contains at least one attachment part.
public
void
set_best_encoding
(
BestencRequired
required,
BestencEncoding
enctype)
Re-encode all message parts to conform with the required encoding rules.
public
void
set_date
(
time_t
date,
int
offset)
Set the date on a message.
public
void
set_from
(
InternetAddress
? from)
Set the from address of a message.
public
void
set_message_id
(
string
? message_id)
Set the message-id on a message.
public
void
set_recipients
(
string
type,
InternetAddress
? recipients)
Set the recipients of a message.
public
void
set_reply_to
(
InternetAddress
? reply_to)
Set the Reply-To of a message.
public
void
set_source
(
string
? source_uid)
Set the UID of the source account of the message.
public
void
set_subject
(
string
? subject)
Set the subject text of a message.
Inherited Members:
All known members inherited from class Camel.MimePart
construct_content_from_parser
construct_from_parser
construct_from_parser_sync
content_id
content_location
content_md5
description
disposition
generate_preview
get_content_disposition
get_content_id
get_content_languages
get_content_location
get_content_md5
get_content_type
get_description
get_disposition
get_encoding
get_filename
set_content
set_content_id
set_content_languages
set_content_location
set_content_md5
set_content_type
set_description
set_disposition
set_encoding
set_filename
All known members inherited from class Camel.Medium
add_header
content
dup_headers
get_content
get_header
get_headers
remove_header
set_content
set_header
All known members inherited from class Camel.DataWrapper
calculate_decoded_size_sync
calculate_size_sync
construct_from_data_sync
construct_from_input_stream
construct_from_input_stream_sync
construct_from_stream
construct_from_stream_sync
decode_to_output_stream
decode_to_output_stream_sync
decode_to_stream
decode_to_stream_sync
get_byte_array
get_encoding
get_mime_type
get_mime_type_field
is_offline
set_encoding
set_mime_type
set_mime_type_field
set_offline
take_mime_type_field
write_to_output_stream
write_to_output_stream_sync
write_to_stream
write_to_stream_sync
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref