Flags¶
Details¶
- class Camel.BestencEncoding(value)¶
Bases:
GLib.Flags
- 7BIT = 0¶
- _7BIT = 0¶
- 8BIT = 1¶
- _8BIT = 1¶
- BINARY = 2¶
- TEXT = 256¶
- class Camel.BestencRequired(value)¶
Bases:
GLib.Flags
- GET_ENCODING = 1¶
- GET_CHARSET = 2¶
- LF_IS_CRLF = 256¶
- NO_FROM = 512¶
- class Camel.BlockFileFlags(value)¶
Bases:
GLib.Flags
- BLOCK_FILE_SYNC = 1¶
- class Camel.BlockFlags(value)¶
Bases:
GLib.Flags
- DIRTY = 1¶
- DETACHED = 2¶
- class Camel.FolderFlags(value)¶
Bases:
GObject.GFlags
- HAS_SUMMARY_CAPABILITY = 1¶
- IS_TRASH = 16¶
- IS_JUNK = 32¶
- FILTER_RECENT = 4¶
- FILTER_JUNK = 64¶
- HAS_BEEN_DELETED = 8¶
- class Camel.FolderInfoFlags(value)¶
Bases:
GObject.GFlags
These flags are abstractions. It’s up to the
Camel.Provider
to give them suitable interpretations. UseCamel.FOLDER_TYPE_MASK
to isolate the folder’s type.- TYPE_NORMAL = 0¶
The folder is a normal folder.
- NOSELECT = 1¶
The folder cannot contain messages.
- TYPE_INBOX = 1024¶
The folder is an inbox folder.
- TYPE_ALL = 10240¶
This folder contains all the messages. Used by RFC 6154.
- TYPE_ARCHIVE = 11264¶
This folder contains archived messages. Used by RFC 6154.
- TYPE_DRAFTS = 12288¶
This folder contains drafts. Used by RFC 6154.
- VTRASH = 128¶
The folder is a virtual trash folder. It cannot be copied to, and can only be moved to if in an existing folder.
- WRITEONLY = 131072¶
The folder is write only.
- SUBSCRIBED = 16¶
The folder is subscribed.
- FLAGS_LAST = 16777216¶
The last define bit of the flags. The
Camel.Provider
can use this and upper bits to store its own flags.
- NOINFERIORS = 2¶
The folder cannot have child folders.
- TYPE_OUTBOX = 2048¶
The folder is an outbox folder.
- SHARED_TO_ME = 256¶
A folder being shared by someone else.
- FLAGGED = 262144¶
This folder contains flagged messages. Some clients call this “starred”. Used by RFC 6154.
- TYPE_TRASH = 3072¶
The folder shows deleted messages.
- VIRTUAL = 32¶
The folder is virtual. Messages cannot be copied or moved to virtual folders since they are only queries of other folders.
- CHILDREN = 4¶
The folder has children (not yet fully implemented).
- TYPE_JUNK = 4096¶
The folder shows junk messages.
- SHARED_BY_ME = 512¶
A folder being shared by the user.
- TYPE_SENT = 5120¶
The folder shows sent messages.
- TYPE_CONTACTS = 6144¶
The folder contains contacts, instead of mail messages.
- SYSTEM = 64¶
The folder is a built-in “system” folder. System folders cannot be renamed or deleted.
- READONLY = 65536¶
The folder is read only.
- TYPE_EVENTS = 7168¶
The folder contains calendar events, instead of mail messages.
- NOCHILDREN = 8¶
The folder does not have children (not yet fully implemented).
- TYPE_MEMOS = 8192¶
The folder contains memos, instead of mail messages.
- TYPE_TASKS = 9216¶
The folder contains tasks, instead of mail messages.
- class Camel.FolderSummaryFlags(value)¶
Bases:
GLib.Flags
- DIRTY = 1¶
There are changes in summary, which should be saved.
- IN_MEMORY_ONLY = 2¶
Summary with this flag doesn’t use DB for storing its content, it is always created on the fly.
- class Camel.MessageFlags(value)¶
Bases:
GObject.GFlags
- USER = -2147483648¶
- ANSWERED = 1¶
- FORWARDED = 1024¶
- JUNK_LEARN = 1073741824¶
- JUNK = 128¶
- SEEN = 16¶
- DELETED = 2¶
- SECURE = 256¶
- ATTACHMENTS = 32¶
- DRAFT = 4¶
- NOTJUNK = 512¶
- ANSWERED_ALL = 64¶
- FOLDER_FLAGGED = 65536¶
- FLAGGED = 8¶
- class Camel.MimeFilterCanonFlags(value)¶
Bases:
GObject.GFlags
- CRLF = 1¶
- FROM = 2¶
- STRIP = 4¶
- class Camel.MimeFilterEnrichedFlags(value)¶
Bases:
GObject.GFlags
- NONE = 0¶
- IS_RICHTEXT = 1¶
- class Camel.MimeFilterToHTMLFlags(value)¶
Bases:
GObject.GFlags
Flags for converting text/plain content into text/html.
- PRE = 1¶
Enclose the content in <pre> … </pre> tags. Cannot be used together with
Camel.MimeFilterToHTMLFlags.DIV
.
- QUOTE_CITATION = 1024¶
Group lines beginning with one or more ‘>’ characters in <blockquote type=”cite”> … </blockquote> tags. The tags are nested according to the number of ‘>’ characters.
- CITE = 128¶
Prefix each line with “> “.
- MARK_CITATION = 16¶
Color quoted lines (lines beginning with ‘>’).
- CONVERT_NL = 2¶
Convert newline characters to <br> tags.
- DIV = 2048¶
Enclose the paragraphs in <div> … </div> tags. Cannot be used together with
Camel.MimeFilterToHTMLFlags.PRE
.
- PRESERVE_8BIT = 256¶
This flag is not used by
Camel.MimeFilterToHTML
.
- CONVERT_ADDRESSES = 32¶
Convert mailto: URLs to <a href=”mailto:foo”>mailto:foo</a>.
- CONVERT_SPACES = 4¶
Convert space and tab characters to a non-breaking space ( ).
- PRESERVE_TABS = 4096¶
Set in combination with
Camel.MimeFilterToHTMLFlags.CONVERT_SPACES
, to keep tab characters. If not set, converts them into the spaces.
- FORMAT_FLOWED = 512¶
This flag is not used by
Camel.MimeFilterToHTML
.
- ESCAPE_8BIT = 64¶
Convert 8-bit characters to escaped hexdecimal (&#nnn;).
- CONVERT_URLS = 8¶
Convert recognized URLs to <a href=”foo”>foo</a>.
- class Camel.ParamFlags(value)¶
Bases:
GLib.Flags
These flags extend
GObject.ParamFlags
. Most of the time you will use them in conjunction withGObject.ObjectClass.install_property
().New in version 2.32.
- PARAM_PERSISTENT = 256¶
The parameter is persistent, which means its value is saved to
Camel.Object
:state-filename
duringCamel.Object.state_write
(), and restored duringCamel.Object.state_read
().
- class Camel.ProviderFlags(value)¶
Bases:
GObject.GFlags
- IS_REMOTE = 1¶
Provider works with remote data.
- SUPPORTS_MOBILE_DEVICES = 1024¶
Download limited set of emails instead of operating on full cache.
- DISABLE_SENT_FOLDER = 128¶
Provider requests to not use the Sent folder when sending with it.
- IS_STORAGE = 16¶
Mail is stored there. It will appear in the folder tree.
- IS_LOCAL = 2¶
Provider can be used as a backend for local folder tree folders. (Not just the opposite of
Camel.ProviderFlags.IS_REMOTE
.)
- SUPPORTS_BATCH_FETCH = 2048¶
Support to fetch messages in batch.
- ALLOW_REAL_TRASH_FOLDER = 256¶
Provider may use a real trash folder instead of a virtual folder.
- SUPPORTS_SSL = 32¶
Provider supports SSL/TLS connections.
- IS_EXTERNAL = 4¶
Provider appears in the folder tree but is not created by the mail component.
- SUPPORTS_PURGE_MESSAGE_CACHE = 4096¶
Support to remove oldest downloaded messages to conserve space.
- ALLOW_REAL_JUNK_FOLDER = 512¶
Provider may use a real junk folder instead of a virtual folder.
- HAS_LICENSE = 64¶
Provider configuration first needs the license to be accepted. (No longer used.)
- IS_SOURCE = 8¶
Mail arrives there, so it should be offered as an option in the mail config dialog.
- class Camel.ProviderURLFlags(value)¶
Bases:
GLib.Flags
- PATH_IS_ABSOLUTE = -2147483648¶
- ALLOW_USER = 1¶
- NEED_PASSWORD = 1024¶
- HIDDEN_PORT = 1048576¶
- FRAGMENT_IS_PATH = 1073741824¶
- HIDDEN_AUTH = 131072¶
- ALLOW_PORT = 16¶
- NEED_PATH_DIR = 16384¶
- ALLOW_AUTH = 2¶
- NEED_HOST = 2048¶
- HIDDEN_PATH = 2097152¶
- NEED_USER = 256¶
- HIDDEN_PASSWORD = 262144¶
- ALLOW_PATH = 32¶
- ALLOW_PASSWORD = 4¶
- NEED_PORT = 4096¶
- NEED_AUTH = 512¶
- HIDDEN_HOST = 524288¶
- HIDDEN_USER = 65536¶
- ALLOW_HOST = 8¶
- NEED_PATH = 8192¶
- class Camel.RecipientCertificateFlags(value)¶
Bases:
GObject.GFlags
Flags used to
Camel.Session.get_recipient_certificates_sync
() call.New in version 3.30.
- SMIME = 1¶
Retrieve S/MIME certificates; this cannot be used together with
Camel.RecipientCertificateFlags.PGP
- PGP = 2¶
Retrieve PGP keys; this cannot be used together with
Camel.RecipientCertificateFlags.SMIME
.
- class Camel.StoreFlags(value)¶
Bases:
GObject.GFlags
- VTRASH = 1¶
- CAN_DELETE_FOLDERS_AT_ONCE = 128¶
- REAL_JUNK_FOLDER = 16¶
- VJUNK = 2¶
- SUPPORTS_INITIAL_SETUP = 256¶
- CAN_EDIT_FOLDERS = 32¶
- PROXY = 4¶
- IS_BUILTIN = 512¶
- USE_CACHE_DIR = 64¶
- IS_MIGRATING = 8¶
- class Camel.StoreGetFolderFlags(value)¶
Bases:
GObject.GFlags
Open mode for folder.
- NONE = 0¶
no flags
- CREATE = 1¶
create the folder
- EXCL = 2¶
deprecated, not honored
- BODY_INDEX = 4¶
save the body index
- PRIVATE = 8¶
a private folder that should not show up in unmatched, folder info’s, etc.
- class Camel.StoreGetFolderInfoFlags(value)¶
Bases:
GObject.GFlags
- FAST = 1¶
- SUBSCRIPTION_LIST = 16¶
Fetch only the subscription list. Clients should use this flag for requesting the list of folders available for subscription. Used in Exchange / IMAP connectors for public folder fetching.
- RECURSIVE = 2¶
- REFRESH = 32¶
Treat this call as a request to refresh the folder summary; for remote accounts it can be to re-fetch fresh folder content from the server and update the local cache.
- SUBSCRIBED = 4¶
- NO_VIRTUAL = 8¶
Do not include virtual trash or junk folders.
- class Camel.StoreInfoFlags(value)¶
Bases:
GObject.GFlags
- TYPE_NORMAL = 0¶
- NOSELECT = 1¶
- TYPE_INBOX = 1024¶
- TYPE_ALL = 10240¶
- TYPE_ARCHIVE = 11264¶
- TYPE_DRAFTS = 12288¶
- VTRASH = 128¶
- WRITEONLY = 131072¶
- SUBSCRIBED = 16¶
- NOINFERIORS = 2¶
- TYPE_OUTBOX = 2048¶
- SHARED_TO_ME = 256¶
- FLAGGED = 262144¶
- TYPE_TRASH = 3072¶
- VIRTUAL = 32¶
- CHILDREN = 4¶
- TYPE_JUNK = 4096¶
- SHARED_BY_ME = 512¶
- TYPE_SENT = 5120¶
- TYPE_CONTACTS = 6144¶
- SYSTEM = 64¶
- READONLY = 65536¶
- TYPE_EVENTS = 7168¶
- NOCHILDREN = 8¶
- TYPE_MEMOS = 8192¶
- TYPE_TASKS = 9216¶
- class Camel.StorePermissionFlags(value)¶
Bases:
GObject.GFlags
- READ = 1¶
- WRITE = 2¶
- class Camel.URLFlags(value)¶
Bases:
GObject.GFlags
- PARAMS = 1¶
- AUTH = 2¶
- class Camel.UUDecodeState(value)¶
Bases:
GLib.Flags
- INIT = 0¶
- END = 131072¶
- BEGIN = 65536¶