EDataServer.SourceMailAccount¶
- Subclasses:
None
Methods¶
- Inherited:
EDataServer.SourceBackend (3), EDataServer.SourceExtension (4), GObject.Object (37)
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c/en |
Folder to Archive messages in |
||
r/w/c/en |
Whether the account is builtin |
||
r/w/c/en |
|
||
r/w/c/en |
Three-state option for Mark messages as read after N seconds |
||
r/w/c/en |
Timeout in milliseconds for Mark messages as read after N seconds |
||
r/w/c/en |
Whether the account needs to do an initial setup |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class EDataServer.SourceMailAccount(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Contains only private data that should be read and manipulated using the functions below.
New in version 3.6.
- dup_archive_folder()¶
- Returns:
a newly-allocated copy of
EDataServer.SourceMailAccount
:archive-folder
- Return type:
Thread-safe variation of
EDataServer.SourceMailAccount.get_archive_folder
(). Use this function when accessing self from multiple threads.The returned string should be freed with
GLib.free
() when no longer needed.New in version 3.16.
- dup_identity_uid()¶
- Returns:
a newly-allocated copy of
EDataServer.SourceMailAccount
:identity-uid
- Return type:
Thread-safe variation of
EDataServer.SourceMailAccount.get_identity_uid
(). Use this function when accessing self from multiple threads.The returned string should be freed with
GLib.free
() when no longer needed.New in version 3.6.
- get_archive_folder()¶
-
Returns a string identifying the archive folder. The format of the identifier string is defined by the client application.
New in version 3.16.
- get_builtin()¶
-
Returns whether the mail account is a builtin account. The builtin account cannot be created by a user. The default value is
False
.New in version 3.46.
- get_identity_uid()¶
- Returns:
the mail identity
EDataServer.Source
:uid
- Return type:
Returns the
EDataServer.Source
:uid
of theEDataServer.Source
that describes the mail identity to be used for this account.New in version 3.6.
- get_mark_seen()¶
- Returns:
an
EDataServer.ThreeState
, whether messages in this account should be marked as seen automatically.- Return type:
New in version 3.32.
- get_mark_seen_timeout()¶
- Returns:
timeout in milliseconds for marking messages as seen in this account
- Return type:
New in version 3.32.
- get_needs_initial_setup()¶
-
Check whether the mail account needs to do its initial setup.
New in version 3.20.
- set_archive_folder(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,
None
is set instead.New in version 3.16.
- set_builtin(builtin)¶
- Parameters:
builtin (
int
) – value to set
Sets whether the account is a builtin account. See
EDataServer.SourceMailAccount.get_builtin
() for more information about what it means.New in version 3.46.
- set_identity_uid(identity_uid)¶
- Parameters:
identity_uid (
str
orNone
) – the mail identityEDataServer.Source
:uid
, orNone
Sets the
EDataServer.Source
:uid
of theEDataServer.Source
that describes the mail identity to be used for this account.New in version 3.6.
- set_mark_seen(mark_seen)¶
- Parameters:
mark_seen (
EDataServer.ThreeState
) – anEDataServer.ThreeState
as the value to set
Sets whether the messages in this account should be marked as seen automatically. An inconsistent state means to use global option.
New in version 3.32.
- set_mark_seen_timeout(timeout)¶
- Parameters:
timeout (
int
) – a timeout in milliseconds
Sets the timeout in milliseconds for marking messages as seen in this account. Whether the timeout is used depends on
EDataServer.SourceMailAccount.get_mark_seen
().New in version 3.32.
Property Details¶
- EDataServer.SourceMailAccount.props.archive_folder¶
- Name:
archive-folder
- Type:
- Default Value:
''
- Flags:
Folder to Archive messages in
- EDataServer.SourceMailAccount.props.builtin¶
-
Whether the account is builtin
- EDataServer.SourceMailAccount.props.identity_uid¶
- Name:
identity-uid
- Type:
- Default Value:
'self'
- Flags:
EDataServer.Source
UID of a Mail Identity
- EDataServer.SourceMailAccount.props.mark_seen¶
- Name:
mark-seen
- Type:
- Default Value:
- Flags:
Three-state option for Mark messages as read after N seconds
- EDataServer.SourceMailAccount.props.mark_seen_timeout¶
- Name:
mark-seen-timeout
- Type:
- Default Value:
1500
- Flags:
Timeout in milliseconds for Mark messages as read after N seconds