Top | ![]() |
![]() |
![]() |
![]() |
ESourceMailAccountESourceMailAccount — ESource extension for an email account |
const |
e_source_mail_account_get_identity_uid () |
|
e_source_mail_account_dup_identity_uid () |
|
e_source_mail_account_set_identity_uid () |
const |
e_source_mail_account_get_archive_folder () |
|
e_source_mail_account_dup_archive_folder () |
|
e_source_mail_account_set_archive_folder () |
|
e_source_mail_account_get_needs_initial_setup () |
|
e_source_mail_account_set_needs_initial_setup () |
The ESourceMailAccount extension identifies the ESource as a mail account and also links to a default "mail identity" to use. See ESourceMailIdentity for more information about identities.
Access the extension as follows:
#include <libedataserver/libedataserver.h> ESourceMailAccount *extension; extension = e_source_get_extension (source, E_SOURCE_EXTENSION_MAIL_ACCOUNT);
constgchar * e_source_mail_account_get_identity_uid (ESourceMailAccount *extension
);
Returns the
Since: 3.6
gchar * e_source_mail_account_dup_identity_uid (ESourceMailAccount *extension
);
Thread-safe variation of e_source_mail_account_get_identity_uid()
.
Use this function when accessing extension
from multiple threads.
The returned string should be freed with g_free()
Since: 3.6
void e_source_mail_account_set_identity_uid (ESourceMailAccount *extension
,const
);gchar *identity_uid
Sets the
Since: 3.6
constgchar * e_source_mail_account_get_archive_folder (ESourceMailAccount *extension
);
Returns a string identifying the archive folder. The format of the identifier string is defined by the client application.
Since: 3.16
gchar * e_source_mail_account_dup_archive_folder (ESourceMailAccount *extension
);
Thread-safe variation of e_source_mail_account_get_archive_folder()
.
Use this function when accessing extension
from multiple threads.
The returned string should be freed with g_free()
Since: 3.16
void e_source_mail_account_set_archive_folder (ESourceMailAccount *extension
,const
);gchar *archive_folder
Sets the folder for sent messages by an identifier string. The format of the identifier string is defined by the client application.
The internal copy of archive_folder
is automatically stripped of leading
and trailing whitespace. If the resulting string is empty, NULL
Since: 3.16
gboolean e_source_mail_account_get_needs_initial_setup (ESourceMailAccount *extension
);
Check whether the mail account needs to do its initial setup.
Since: 3.20
void e_source_mail_account_set_needs_initial_setup (ESourceMailAccount *extension
,);
gboolean needs_initial_setup
Sets whether the account needs to run its initial setup.
Since: 3.20
#define E_SOURCE_EXTENSION_MAIL_ACCOUNT "Mail Account"
Pass this extension name to e_source_get_extension()
to access
ESourceMailAccount. This is also used as a group name in key files.
Since: 3.6
struct ESourceMailAccount { };
Contains only private data that should be read and manipulated using the functions below.
Since: 3.6