Top | ![]() |
![]() |
![]() |
![]() |
ESourceMailSubmissionESourceMailSubmission — ESource extension for submitting emails |
gboolean | replies-to-origin-folder | Read / Write / Construct |
gchar * | sent-folder | Read / Write / Construct |
gchar * | transport-uid | Read / Write / Construct |
The ESourceMailSubmission extension tracks settings to be applied when submitting a mail message for delivery.
Access the extension as follows:
#include <libedataserver/libedataserver.h> ESourceMailSubmission *extension; extension = e_source_get_extension (source, E_SOURCE_EXTENSION_MAIL_SUBMISSION);
const gchar *
e_source_mail_submission_get_sent_folder
(ESourceMailSubmission *extension
);
Returns a string identifying the preferred folder for sent messages. The format of the identifier string is defined by the client application.
Since 3.6
gchar *
e_source_mail_submission_dup_sent_folder
(ESourceMailSubmission *extension
);
Thread-safe variation of e_source_mail_submission_get_sent_folder()
.
Use this function when accessing extension
from multiple threads.
The returned string should be freed with g_free()
when no longer needed.
Since 3.6
void e_source_mail_submission_set_sent_folder (ESourceMailSubmission *extension
,const gchar *sent_folder
);
Sets the preferred folder for sent messages by an identifier string. The format of the identifier string is defined by the client application.
The internal copy of sent_folder
is automatically stripped of leading
and trailing whitespace. If the resulting string is empty, NULL
is set
instead.
Since 3.6
const gchar *
e_source_mail_submission_get_transport_uid
(ESourceMailSubmission *extension
);
Returns the “uid” of the ESource that describes the mail transport to be used for outgoing messages.
Since 3.6
gchar *
e_source_mail_submission_dup_transport_uid
(ESourceMailSubmission *extension
);
Thread-safe variation of e_source_mail_submission_get_transport_uid()
.
Use this function when accessing extension
from multiple threads.
The returned string should be freed with g_free()
when no longer needed.
Since 3.6
void e_source_mail_submission_set_transport_uid (ESourceMailSubmission *extension
,const gchar *transport_uid
);
Sets the “uid” of the ESource that describes the mail transport to be used for outgoing messages.
Since 3.6
gboolean
e_source_mail_submission_get_replies_to_origin_folder
(ESourceMailSubmission *extension
);
Returns whether save replies in the folder of the message being replied to, instead of the Sent folder.
Since 3.8
void e_source_mail_submission_set_replies_to_origin_folder (ESourceMailSubmission *extension
,gboolean replies_to_origin_folder
);
Sets whether save replies in the folder of the message being replied to, instead of the Sent folder.
Since 3.8
struct ESourceMailSubmission;
Contains only private data that should be read and manipulated using the function below.
Since 3.6
#define E_SOURCE_EXTENSION_MAIL_SUBMISSION "Mail Submission"
Pass this extension name to e_source_get_extension()
to access
ESourceMailSubmission. This is also used as a group name in key files.
Since 3.6
“replies-to-origin-folder”
property“replies-to-origin-folder” gboolean
Whether to save replies to folder of the message being replied to, instead of the Sent folder.
Flags: Read / Write / Construct
Default value: FALSE
“sent-folder”
property“sent-folder” gchar *
Preferred folder for sent messages.
Flags: Read / Write / Construct
Default value: NULL
“transport-uid”
property“transport-uid” gchar *
ESource UID of a Mail Transport.
Flags: Read / Write / Construct
Default value: NULL