- public bool abort_notifications { get; set; }
Flag, whether the info is currently aborting notifications.
- public string cc { get; set; }
CC address of the associated message.
- public int64 date_received { get; set; }
Received date of the associated message.
- public int64 date_sent { get; set; }
Sent Date of the associated message.
- public bool dirty { get; set; }
Flag, whether the info is changed and requires save to disk.
- public MessageFlags flags { get; set; }
- public bool folder_flagged { get; set; }
Flag, whether the info is changed and requires save to the destination
store/server.
- public uint folder_flagged_stamp { get; }
The 'folder-flagged-stamp' is a stamp of the 'folder-flagged' flag.
- public string from { get; set; }
From address of the associated message.
- public NameValueArray headers { owned get; set; }
Headers of the associated message.
- public uint64 message_id { get; set; }
Encoded Message-ID of the associated message as a guint64 number,
partial MD5 sum.
- public string mlist { get; set; }
Mailing list address of the associated message.
- public string preview { get; set; }
Body preview of the associated message.
- public Array<uint64> references { owned get; set; }
Encoded In-Reply-To and References headers of the associated message
as an array of guint64 numbers, partial MD5 sums.
- public uint size { get; set; }
Size of the associated message.
- public string subject { get; set; }
Subject of the associated message.
- public FolderSummary summary { owned get; construct; }
- public string to { get; set; }
To address of the associated message.
- public string uid { get; set; }
A unique ID of the message in its folder.
- public NamedFlags user_flags { owned get; set; }
User flags for the associated message.
- public NameValueArray user_headers { owned get; set; }
User-defined headers of the associated message.
- public NameValueArray user_tags { owned get; set; }
User tags for the associated message.
- public virtual MessageInfo clone (FolderSummary? assign_summary)
Clones the this as a new
MessageInfo and eventually assigns a new
FolderSummary to it.
- public void dump ()
Dumps the mesasge info this to
stdout.
- public NameValueArray? dup_headers ()
Duplicates array of headers for the this
.
- public unowned string? dup_preview ()
- public Array<uint64>? dup_references ()
Duplicates encoded In-Reply-To and References headers of the
associated message as an array of guint64 numbers, partial MD5 sums.
- public virtual NamedFlags? dup_user_flags ()
- public string? dup_user_header (string name)
- public NameValueArray? dup_user_headers ()
- public string? dup_user_tag (string name)
- public virtual NameValueArray? dup_user_tags ()
- public void freeze_notifications ()
- public bool get_abort_notifications ()
- public virtual unowned string get_cc ()
- public virtual int64 get_date_received ()
- public virtual int64 get_date_sent ()
- public bool get_dirty ()
- public virtual uint32 get_flags ()
- public bool get_folder_flagged ()
The folder flagged flag is used to mark the message infor as being
changed and this change should be propagated to the remote store (server).
- public uint get_folder_flagged_stamp ()
The 'folder-flagged-stamp' is a stamp of the 'folder-flagged' flag.
- public virtual unowned string get_from ()
- public virtual unowned NameValueArray? get_headers ()
- public virtual uint64 get_message_id ()
Encoded Message-ID of the associated message as a guint64 number,
partial MD5 sum.
- public virtual unowned string get_mlist ()
- public bool get_notifications_frozen ()
- public virtual unowned string? get_preview ()
- public virtual unowned Array<uint64>? get_references ()
Gets encoded In-Reply-To and References headers of the associated
message as an array of guint64 numbers, partial MD5 sums.
- public virtual uint32 get_size ()
- public virtual unowned string get_subject ()
- public virtual unowned string get_to ()
- public unowned string get_uid ()
Get the UID of the mi
.
- public virtual bool get_user_flag (string name)
- public virtual unowned NamedFlags? get_user_flags ()
- public virtual unowned string? get_user_header (string name)
- public virtual unowned NameValueArray? get_user_headers ()
- public virtual unowned string? get_user_tag (string name)
- public virtual unowned NameValueArray? get_user_tags ()
- public virtual bool load (MIRecord? record, string bdata_ptr)
Load content of this from the data
stored in record
.
- public unowned string pooldup_uid ()
Get the UID of the mi
, duplicated on the Camel's string
pool.
- public void property_lock ()
Acquires a property lock, which is used to ensure thread safety when
properties are changing.
- public void property_unlock ()
Releases a property lock, previously acquired with
property_lock.
- public FolderSummary? ref_summary ()
- public virtual bool save (MIRecord? record, StringBuilder bdata_str)
Save the this content to the message
info record record
.
- public void set_abort_notifications (bool abort_notifications)
Marks the this to abort any
notifications, which means that it will not influence 'dirty' and 'folder-flagged' flags in the set/take functions, neither it will
emit any GObject:CamelMessageInfo:notify
signals on change, nor associated folder's "changed" signal.
- public virtual bool set_cc (string? cc)
Sets CC from the associated message.
- public virtual bool set_date_received (int64 date_received)
Sets received date (the Received header) of the associated message.
- public virtual bool set_date_sent (int64 date_sent)
Sets sent date (the Date header) of the associated message.
- public void set_dirty (bool dirty)
Marks the this as dirty, which means
a save to the local summary is required.
- public virtual bool set_flags (uint32 mask, uint32 @set)
Change the state of the flags on the this
.
- public bool set_folder_flagged (bool folder_flagged)
Changes the folder-flagged flag to the folder_flagged
value.
- public virtual bool set_from (string? from)
Sets From from the associated message.
- public virtual bool set_message_id (uint64 message_id)
Sets encoded Message-ID of the associated message as a guint64 number,
partial MD5 sum.
- public virtual bool set_mlist (string? mlist)
Sets mesage list address from the associated message.
- public virtual bool set_preview (string? preview)
Set preview
as the body preview of the associated
message.
- public virtual bool set_size (uint32 size)
Sets size of the associated message.
- public virtual bool set_subject (string? subject)
Sets Subject from the associated message.
- public virtual bool set_to (string? to)
Sets To from the associated message.
- public bool set_uid (string uid)
Changes UID of the this to uid
.
- public virtual bool set_user_flag (string name, bool state)
Change state
of the flag named name
.
- public virtual bool set_user_header (string name, string? value)
Set value
for a single user-defined message header of the
associated message.
- public virtual bool set_user_tag (string name, string? value)
Set user tag name
to value
, or remove it, if
value
is null.
- public virtual bool take_headers (owned NameValueArray? headers)
Takes headers of the associated message.
- public virtual bool take_references (owned Array<uint64>? references)
Takes encoded In-Reply-To and References headers of the associated
message as an array of guint64 numbers, partial MD5 sums.
- public virtual bool take_user_flags (owned NamedFlags? user_flags)
Takes all the user_flags
, which replaces any current user
flags on the this.
- public virtual bool take_user_headers (owned NameValueArray? headers)
Takes user-defined message headers of the associated message.
- public virtual bool take_user_tags (owned NameValueArray? user_tags)
Takes all the user_tags
, which replaces any current user
tags on the this.
- public void thaw_notifications ()