Enums

Details

class Camel.AuthenticationResult(value)

Bases: GObject.GEnum

Authentication result codes used by Camel.Service.

New in version 3.4.

ERROR = 0

An error occurred while authenticating.

ACCEPTED = 1

Server accepted our authentication attempt.

REJECTED = 2

Server rejected our authentication attempt.

class Camel.CertTrust(value)

Bases: GLib.Enum

UNKNOWN = 0
NEVER = 1
MARGINAL = 2
FULLY = 3
ULTIMATE = 4
TEMPORARY = 5
class Camel.CipherContextError(value)

Bases: GLib.Enum

New in version 3.50.

CIPHER_CONTEXT_ERROR_KEY_NOT_FOUND = 0

one or more recipient’s public key was not found

class Camel.CipherHash(value)

Bases: GLib.Enum

DEFAULT = 0
MD2 = 1
MD5 = 2
SHA1 = 3
SHA256 = 4
SHA384 = 5
SHA512 = 6
RIPEMD160 = 7
TIGER192 = 8
HAVAL5160 = 9
class Camel.CipherValidityEncrypt(value)

Bases: GLib.Enum

NONE = 0
WEAK = 1
ENCRYPTED = 2
STRONG = 3
class Camel.CipherValidityMode(value)

Bases: GLib.Enum

SIGN = 0
ENCRYPT = 1
class Camel.CipherValiditySign(value)

Bases: GLib.Enum

NONE = 0
GOOD = 1
BAD = 2
UNKNOWN = 3
NEED_PUBLIC_KEY = 4
class Camel.CompareType(value)

Bases: GObject.GEnum

Declares the compare type to use.

New in version 3.24.

INSENSITIVE = 0

compare case insensitively

SENSITIVE = 1

compare case sensitively

class Camel.DBError(value)

Bases: GLib.Enum

New in version 3.44.

DB_ERROR_CORRUPT = 0

database is corrupt

class Camel.DBKnownColumnNames(value)

Bases: GLib.Enum

An enum of all the known columns, which can be used for a quick column lookups.

New in version 3.4.

UNKNOWN = -1

unknown column name

ATTACHMENT = 0

attachment

BDATA = 1

bdata

FOLLOWUP_DUE_BY = 10

followup_due_by

FOLLOWUP_FLAG = 11

followup_flag

IMPORTANT = 12

important

JND_COUNT = 13

jnd_count

JUNK = 14

junk

JUNK_COUNT = 15

junk_count

LABELS = 16

labels

MAIL_CC = 17

mail_cc

MAIL_FROM = 18

mail_from

MAIL_TO = 19

mail_to

CINFO = 2

cinfo

MLIST = 20

mlist

NEXTUID = 21

nextuid

PART = 22

Camel.part

PREVIEW = 23

preview

READ = 24

read

REPLIED = 25

replied

SAVED_COUNT = 26

saved_count

SIZE = 27

size

SUBJECT = 28

subject

TIME = 29

time

DELETED = 3

deleted

UID = 30

uid

UNREAD_COUNT = 31

unread_count

USERHEADERS = 32

userheaders

USERTAGS = 33

usertags

VERSION = 34

version

VISIBLE_COUNT = 35

visible_count

VUID = 36

vuid

DELETED_COUNT = 4

deleted_count

DRECEIVED = 5

dreceived

DSENT = 6

dsent

FLAGS = 7

flags

FOLDER_NAME = 8

folder_name

FOLLOWUP_COMPLETED_ON = 9

followup_completed_on

class Camel.Error(value)

Bases: GLib.Enum

New in version 2.32.

ERROR_GENERIC = 0

a generic (fallback) error code

class Camel.FetchHeadersType(value)

Bases: GObject.GEnum

Describes what headers to fetch when downloading message summaries.

New in version 3.2.

BASIC = 0

Fetch only basic headers (Date, From, To, Subject, etc.).

BASIC_AND_MAILING_LIST = 1

Fetch all basic headers and mailing list headers.

ALL = 2

Fetch all available message headers.

class Camel.FetchType(value)

Bases: GObject.GEnum

New in version 3.4.

OLD_MESSAGES = 0

fetch old messages

NEW_MESSAGES = 1

fetch new messages

class Camel.FolderError(value)

Bases: GObject.GEnum

New in version 2.32.

classmethod quark()
Return type:

int

INVALID = 0

a generic error about invalid operation with the folder

INVALID_STATE = 1

the folder is in an invalid state

NON_EMPTY = 2

the folder is not empty

NON_UID = 3

requested UID is not a UID

INSUFFICIENT_PERMISSION = 4

insufficient permissions for the requested operation

INVALID_PATH = 5

the folder path is invalid

INVALID_UID = 6

requested UID is invalid/cannot be found

SUMMARY_INVALID = 7

the folder’s summary is invalid/broken

class Camel.GpgTrust(value)

Bases: GObject.GEnum

GPG key trust levels.

New in version 3.50.

NONE = 0

no trust set

UNKNOWN = 1

unknown trust level

NEVER = 2

never trust the key

MARGINAL = 3

marginally trust the key

FULL = 4

fully trust the key

ULTIMATE = 5

ultimately trust the key

class Camel.HTMLParserState(value)

Bases: GLib.Enum

DATA = 0
ENT = 1
VAL = 10
VAL_ENT = 11
EOD = 12
EOF = 13
ELEMENT = 2
TAG = 3
DTDENT = 4
COMMENT0 = 5
COMMENT = 6
ATTR0 = 7
ATTR = 8
VAL0 = 9
class Camel.HeaderAddressType(value)

Bases: GLib.Enum

NONE = 0
NAME = 1
GROUP = 2
class Camel.JunkStatus(value)

Bases: GObject.GEnum

These are result codes used when passing messages through a junk filter.

ERROR = 0

An error occurred while invoking the junk filter.

INCONCLUSIVE = 1

The junk filter could not determine whether the message is junk.

MESSAGE_IS_JUNK = 2

The junk filter believes the message is junk.

MESSAGE_IS_NOT_JUNK = 3

The junk filter believes the message is not junk.

class Camel.LockType(value)

Bases: GLib.Enum

READ = 0
WRITE = 1
class Camel.MemPoolFlags(value)

Bases: GLib.Enum

New in version 2.32.

STRUCT = 0

Allocate to native structure alignment

WORD = 1

Allocate to words - 16 bit alignment

BYTE = 2

Allocate to bytes - 8 bit alignment

MASK = 3

Which bits determine the alignment information

class Camel.MimeFilterBasicType(value)

Bases: GObject.GEnum

INVALID = 0
BASE64_ENC = 1
BASE64_DEC = 2
QP_ENC = 3
QP_DEC = 4
UU_ENC = 5
UU_DEC = 6
class Camel.MimeFilterCRLFDirection(value)

Bases: GObject.GEnum

ENCODE = 0
DECODE = 1
class Camel.MimeFilterCRLFMode(value)

Bases: GObject.GEnum

DOTS = 0
ONLY = 1
class Camel.MimeFilterGZipMode(value)

Bases: GObject.GEnum

ZIP = 0
UNZIP = 1
class Camel.MimeFilterYencDirection(value)

Bases: GObject.GEnum

ENCODE = 0
DECODE = 1
class Camel.MimeParserState(value)

Bases: GLib.Enum

INITIAL = 0
PRE_FROM = 1
FROM_END = 10
HEADER_END = 11
BODY_END = 12
MULTIPART_END = 13
MESSAGE_END = 14
FROM = 2
HEADER = 3
BODY = 4
MULTIPART = 5
MESSAGE = 6
PART = 7
END = 8
EOF = 8
PRE_FROM_END = 9
class Camel.NetworkSecurityMethod(value)

Bases: GObject.GEnum

Methods for establishing an encrypted (or unencrypted) network connection.

New in version 3.2.

NONE = 0

Use an unencrypted network connection.

SSL_ON_ALTERNATE_PORT = 1

Use SSL by connecting to an alternate port number.

STARTTLS_ON_STANDARD_PORT = 2

Use SSL or TLS by connecting to the standard port and invoking STARTTLS before authenticating. This is the recommended method.

class Camel.ProviderConfType(value)

Bases: GObject.GEnum

END = 0
SECTION_START = 1
ADVANCED_SECTION_START = 10
SECTION_END = 2
CHECKBOX = 3
CHECKSPIN = 4
ENTRY = 5
LABEL = 6
HIDDEN = 7
OPTIONS = 8
PLACEHOLDER = 9
class Camel.ProviderType(value)

Bases: GObject.GEnum

STORE = 0
TRANSPORT = 1
class Camel.SExpResultType(value)

Bases: GObject.GEnum

Defines type of a Camel.SExpResult.

New in version 3.4.

ARRAY_PTR = 0

type is a ptrarray, what it points to is implementation dependant

INT = 1

type is a number

STRING = 2

type is a pointer to a single string

BOOL = 3

boolean type

TIME = 4

time_t type

UNDEFINED = 5

unknown type

class Camel.SExpTermType(value)

Bases: GObject.GEnum

Defines type of a Camel.SExpTerm and partly also Camel.SExpSymbol

New in version 3.4.

INT = 0

integer literal

BOOL = 1

boolean literal

STRING = 2

string literal

TIME = 3

time_t literal (number of seconds past the epoch)

FUNC = 4

normal function, arguments are evaluated before calling

IFUNC = 5

immediate function, raw terms are arguments

VAR = 6

variable reference

class Camel.SMIMESign(value)

Bases: GLib.Enum

CLEARSIGN = 0
ENVELOPED = 1
class Camel.SaslAnonTraceType(value)

Bases: GObject.GEnum

EMAIL = 0
OPAQUE = 1
EMPTY = 2
class Camel.ServiceConnectionStatus(value)

Bases: GObject.GEnum

Connection status returned by Camel.Service.get_connection_status().

New in version 3.6.

DISCONNECTED = 0

Camel.Service is disconnected from a remote server.

CONNECTING = 1

Camel.Service is connecting to a remote server.

CONNECTED = 2

Camel.Service is connected to a remote server.

DISCONNECTING = 3

Camel.Service is disconnecting from a remote server.

class Camel.ServiceError(value)

Bases: GObject.GEnum

New in version 2.32.

classmethod quark()
Return type:

int

INVALID = 0

a generic service error code

URL_INVALID = 1

the URL for the service is invalid

UNAVAILABLE = 2

the service is unavailable

CANT_AUTHENTICATE = 3

failed to authenitcate

NOT_CONNECTED = 4

the service is not connected

class Camel.SessionAlertType(value)

Bases: GObject.GEnum

INFO = 0
WARNING = 1
ERROR = 2
class Camel.SortType(value)

Bases: GObject.GEnum

Determines the direction of a sort.

New in version 3.2.

ASCENDING = 0

Sorting is in ascending order.

DESCENDING = 1

Sorting is in descending order.

class Camel.StoreError(value)

Bases: GObject.GEnum

New in version 2.32.

classmethod quark()
Return type:

int

INVALID = 0

an invalid store operation had been requested

NO_FOLDER = 1

requested operation cannot be performed with the given folder

class Camel.StreamBufferMode(value)

Bases: GLib.Enum

BUFFER = 0
READ = 0
NONE = 1
MODE = 128
WRITE = 128
class Camel.ThreeState(value)

Bases: GObject.GEnum

Describes a three-state value, which can be either Off, On or Inconsistent.

New in version 3.22.

OFF = 0

the three-state value is Off

ON = 1

the three-state value is On

INCONSISTENT = 2

the three-state value is neither On, nor Off

class Camel.TimeUnit(value)

Bases: GObject.GEnum

Declares time unit, which serves to interpret the time value, like in Camel.OfflineSettings.

New in version 3.24.

DAYS = 1

days

WEEKS = 2

weeks

MONTHS = 3

months

YEARS = 4

years

class Camel.TransferEncoding(value)

Bases: GObject.GEnum

classmethod from_string(string)
Parameters:

string (str) –

Return type:

Camel.TransferEncoding

classmethod to_string(encoding)
Parameters:

encoding (Camel.TransferEncoding) –

Return type:

str

ENCODING_DEFAULT = 0
ENCODING_7BIT = 1
ENCODING_8BIT = 2
ENCODING_BASE64 = 3
ENCODING_QUOTEDPRINTABLE = 4
ENCODING_BINARY = 5
ENCODING_UUENCODE = 6
NUM_ENCODINGS = 7
class Camel.VTrashFolderType(value)

Bases: GLib.Enum

TRASH = 0
JUNK = 1
LAST = 2