| Top |
void e_msg_composer_new (EShell *shell,GAsyncReadyCallback callback,gpointer user_data);
e_msg_composer_new is deprecated and should not be used in newly-written code.
Asynchronously creates an EMsgComposer. The operation is finished
with e_msg_composer_new_finish() called from within the callback
.
shell |
an EShell |
|
callback |
called when the composer is ready |
|
user_data |
user data passed to |
Since: 3.22
EMsgComposer * e_msg_composer_new_finish (GAsyncResult *result,GError **error);
e_msg_composer_new_finish is deprecated and should not be used in newly-written code.
Finishes call of e_msg_composer_new().
result |
a GAsyncResult provided by the callback from |
|
error |
optional GError for errors |
Since: 3.22
void e_msg_composer_setup_with_message (EMsgComposer *composer,CamelMimeMessage *message,gboolean keep_signature,const gchar *override_identity_uid,const gchar *override_alias_name,const gchar *override_alias_address,GCancellable *cancellable);
e_msg_composer_setup_with_message is deprecated and should not be used in newly-written code.
Sets up the message composer
with a specific message
.
Note: Designed to work only for messages constructed using Evolution.
composer |
an EMsgComposer |
|
message |
The message to use as the source |
|
keep_signature |
Keep message signature, if any |
|
override_identity_uid |
Optional identity UID to use, or |
[allow none] |
override_alias_name |
an alias name to use together with the override_identity_uid, or |
[nullable] |
override_alias_address |
an alias address to use together with the override_identity_uid, or |
[nullable] |
cancellable |
optional GCancellable object, or |
Since: 3.22
void e_msg_composer_setup_from_url (EMsgComposer *composer,const gchar *url);
e_msg_composer_setup_from_url is deprecated and should not be used in newly-written code.
Sets up the message composer
content as defined by the provided URL.
Since: 3.22
void e_msg_composer_setup_redirect (EMsgComposer *composer,CamelMimeMessage *message,const gchar *identity_uid,const gchar *alias_name,const gchar *alias_address,GCancellable *cancellable);
e_msg_composer_setup_redirect is deprecated and should not be used in newly-written code.
Sets up the message composer
as a redirect of the message
.
composer |
an EMsgComposer |
|
message |
The message to use as the source |
|
identity_uid |
an identity UID to use, if any. |
[nullable] |
alias_name |
an alias name to use together with the identity_uid, or |
[nullable] |
alias_address |
an alias address to use together with the identity_uid, or |
[nullable] |
cancellable |
an optional GCancellable |
Since: 3.22
EHTMLEditor *
e_msg_composer_get_editor (EMsgComposer *composer);
e_msg_composer_get_editor is deprecated and should not be used in newly-written code.
Returns composer
's internal EHTMLEditor instance.
EFocusTracker *
e_msg_composer_get_focus_tracker (EMsgComposer *composer);
e_msg_composer_get_focus_tracker is deprecated and should not be used in newly-written code.
CamelSession *
e_msg_composer_ref_session (EMsgComposer *composer);
e_msg_composer_ref_session is deprecated and should not be used in newly-written code.
Returns the mail module's global CamelSession instance. Calling this function will load the mail module if it isn't already loaded.
The returned CamelSession is referenced for thread-safety and must
be unreferenced with g_object_unref() when finished with it.
EShell *
e_msg_composer_get_shell (EMsgComposer *composer);
e_msg_composer_get_shell is deprecated and should not be used in newly-written code.
Returns the EShell that was passed to e_msg_composer_new().
void
e_msg_composer_send (EMsgComposer *composer);
e_msg_composer_send is deprecated and should not be used in newly-written code.
Send the message in composer
.
void
e_msg_composer_save_to_drafts (EMsgComposer *composer);
e_msg_composer_save_to_drafts is deprecated and should not be used in newly-written code.
Save the message in composer
to the selected account's Drafts folder.
void
e_msg_composer_save_to_outbox (EMsgComposer *composer);
e_msg_composer_save_to_outbox is deprecated and should not be used in newly-written code.
Save the message in composer
to the local Outbox folder.
void e_msg_composer_print (EMsgComposer *composer,GtkPrintOperationAction print_action);
e_msg_composer_print is deprecated and should not be used in newly-written code.
Print the message in composer
.
void e_msg_composer_set_body_text (EMsgComposer *composer,const gchar *text,gboolean update_signature);
e_msg_composer_set_body_text is deprecated and should not be used in newly-written code.
Loads the given HTML text into the editor.
void e_msg_composer_set_body (EMsgComposer *composer,const gchar *body,const gchar *mime_type);
e_msg_composer_set_body is deprecated and should not be used in newly-written code.
Loads the given data into the composer as the message body.
void e_msg_composer_add_header (EMsgComposer *composer,const gchar *name,const gchar *value);
e_msg_composer_add_header is deprecated and should not be used in newly-written code.
Adds a new custom header created from name
and value
. The header
is not shown in the user interface but will be added to the resulting
MIME message when sending or saving.
void e_msg_composer_set_header (EMsgComposer *composer,const gchar *name,const gchar *value);
e_msg_composer_set_header is deprecated and should not be used in newly-written code.
Replaces all custom headers matching name
that were added with
e_msg_composer_add_header() or e_msg_composer_set_header(), with
a new custom header created from name
and value
. The header is
not shown in the user interface but will be added to the resulting
MIME message when sending or saving.
const gchar * e_msg_composer_get_header (EMsgComposer *composer,const gchar *name,gint index);
e_msg_composer_get_header is deprecated and should not be used in newly-written code.
Returns header value of the header named name
previously added
by e_msg_composer_add_header() or set by e_msg_composer_set_header().
The index
is which header index to return. Returns NULL on error
or when the given index of the header couldn't be found.
Since: 3.20
void e_msg_composer_remove_header (EMsgComposer *composer,const gchar *name);
e_msg_composer_remove_header is deprecated and should not be used in newly-written code.
Removes all custom headers matching name
that were added with
e_msg_composer_add_header() or e_msg_composer_set_header().
void e_msg_composer_set_draft_headers (EMsgComposer *composer,const gchar *folder_uri,const gchar *message_uid);
e_msg_composer_set_draft_headers is deprecated and should not be used in newly-written code.
Add special X-Evolution-Draft headers to remember the most recently saved draft message, even across Evolution sessions. These headers can be used to mark the draft message for deletion after saving a newer draft or sending the composed message.
void e_msg_composer_set_source_headers (EMsgComposer *composer,const gchar *folder_uri,const gchar *message_uid,CamelMessageFlags flags);
e_msg_composer_set_source_headers is deprecated and should not be used in newly-written code.
Add special X-Evolution-Source headers to remember the message being forwarded or replied to, even across Evolution sessions. These headers can be used to set appropriate flags on the source message after sending the composed message.
void e_msg_composer_attach (EMsgComposer *composer,CamelMimePart *mime_part);
e_msg_composer_attach is deprecated and should not be used in newly-written code.
Attaches attachment
to the message being composed in the composer.
void e_msg_composer_get_message (EMsgComposer *composer,gint io_priority,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
e_msg_composer_get_message is deprecated and should not be used in newly-written code.
Retrieve the message edited by the user as a CamelMimeMessage. The CamelMimeMessage object is created on the fly; subsequent calls to this function will always create new objects from scratch.
CamelMimeMessage * e_msg_composer_get_message_finish (EMsgComposer *composer,GAsyncResult *result,GError **error);
e_msg_composer_get_message_finish is deprecated and should not be used in newly-written code.
void e_msg_composer_get_message_print (EMsgComposer *composer,gint io_priority,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
e_msg_composer_get_message_print is deprecated and should not be used in newly-written code.
CamelMimeMessage * e_msg_composer_get_message_print_finish (EMsgComposer *composer,GAsyncResult *result,GError **error);
e_msg_composer_get_message_print_finish is deprecated and should not be used in newly-written code.
void e_msg_composer_get_message_draft (EMsgComposer *composer,gint io_priority,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
e_msg_composer_get_message_draft is deprecated and should not be used in newly-written code.
CamelMimeMessage * e_msg_composer_get_message_draft_finish (EMsgComposer *composer,GAsyncResult *result,GError **error);
e_msg_composer_get_message_draft_finish is deprecated and should not be used in newly-written code.
CamelInternetAddress *
e_msg_composer_get_from (EMsgComposer *composer);
e_msg_composer_get_from is deprecated and should not be used in newly-written code.
CamelInternetAddress *
e_msg_composer_get_reply_to (EMsgComposer *composer);
e_msg_composer_get_reply_to is deprecated and should not be used in newly-written code.
void e_msg_composer_add_message_attachments (EMsgComposer *composer,CamelMimeMessage *message,gboolean just_inlines);
e_msg_composer_add_message_attachments is deprecated and should not be used in newly-written code.
Walk through all the mime parts in message
and add them to the composer
specified in composer
.
void
e_msg_composer_request_close (EMsgComposer *composer);
e_msg_composer_request_close is deprecated and should not be used in newly-written code.
gboolean e_msg_composer_can_close (EMsgComposer *composer,gboolean can_save_draft);
e_msg_composer_can_close is deprecated and should not be used in newly-written code.
EComposerHeaderTable *
e_msg_composer_get_header_table (EMsgComposer *composer);
e_msg_composer_get_header_table is deprecated and should not be used in newly-written code.
EAttachmentView *
e_msg_composer_get_attachment_view (EMsgComposer *composer);
e_msg_composer_get_attachment_view is deprecated and should not be used in newly-written code.
GByteArray *
e_msg_composer_get_raw_message_text_without_signature
(EMsgComposer *composer);
e_msg_composer_get_raw_message_text_without_signature is deprecated and should not be used in newly-written code.
Returns the text/plain of the message from composer without signature
GByteArray *
e_msg_composer_get_raw_message_text (EMsgComposer *composer);
e_msg_composer_get_raw_message_text is deprecated and should not be used in newly-written code.
Returns the text/plain of the message from composer
gboolean
e_msg_composer_is_exiting (EMsgComposer *composer);
e_msg_composer_is_exiting is deprecated and should not be used in newly-written code.
void
e_save_spell_languages (const GList *spell_languages);
e_save_spell_languages is deprecated and should not be used in newly-written code.
void
e_msg_composer_save_focused_widget (EMsgComposer *composer);
e_msg_composer_save_focused_widget is deprecated and should not be used in newly-written code.
void
e_msg_composer_restore_focus_on_composer
(EMsgComposer *composer);
e_msg_composer_restore_focus_on_composer is deprecated and should not be used in newly-written code.
gboolean
e_msg_composer_is_busy (EMsgComposer *composer);
e_msg_composer_is_busy is deprecated and should not be used in newly-written code.
Returns TRUE only while an EActivity is in progress.
gboolean
e_msg_composer_get_is_reply_or_forward
(EMsgComposer *composer);
e_msg_composer_get_is_reply_or_forward is deprecated and should not be used in newly-written code.
void e_msg_composer_set_is_reply_or_forward (EMsgComposer *composer,gboolean is_reply_or_forward);
e_msg_composer_set_is_reply_or_forward is deprecated and should not be used in newly-written code.