Constants

Details

GMime.BINARY_AGE = 623

GMime’s binary age.

GMime.DISPOSITION_ATTACHMENT = 'attachment'

Standard attachment disposition.

GMime.DISPOSITION_INLINE = 'inline'

Standard inline disposition.

GMime.ENABLE_RFC2047_WORKAROUNDS = 1

Initialization flag to enable workarounds for badly formed rfc2047 encoded-words.

GMime.ENABLE_USE_ONLY_USER_CHARSETS = 2

Initialization flag that hints to the rfc2047 encoder to use only the configured user-charsets (set via GMime.set_user_charsets()) instead of trying to first use iso-8859-1.

New in version 2.6.16.

GMime.FILTER_ENRICHED_IS_RICHTEXT = 1

A bit flag for GMime.FilterEnriched.new() which signifies that the filter should expect Rich Text (aka RTF).

GMime.FILTER_HTML_CITE = 128

Cites text by prepending “> ” to each cited line.

GMime.FILTER_HTML_CONVERT_ADDRESSES = 32

Wrap email addresses in “mailto:” href tags.

GMime.FILTER_HTML_CONVERT_NL = 2

Convert new-lines (‘\n’) into <br> tags.

GMime.FILTER_HTML_CONVERT_SPACES = 4

Preserve whitespace by converting spaces into their appropriate html entities.

GMime.FILTER_HTML_CONVERT_URLS = 8

Wrap detected URLs in <a href=…> tags.

GMime.FILTER_HTML_ESCAPE_8BIT = 64

Converts 8bit characters to ‘?’.

GMime.FILTER_HTML_MARK_CITATION = 16

Change the colour of citation text.

GMime.FILTER_HTML_PRE = 1

Wrap stream in <pre> tags.

GMime.INTERFACE_AGE = 0

GMime’s interface age.

GMime.MAJOR_VERSION = 2

GMime’s major version.

GMime.MICRO_VERSION = 23

GMime’s micro version.

GMime.MINOR_VERSION = 6

GMime’s minor version.

GMime.UUDECODE_STATE_BEGIN = 65536

State for the GMime.Encoding.uudecode_step() function, denoting that the ‘begin’ line has been found.

GMime.UUDECODE_STATE_END = 131072

State for the GMime.Encoding.uudecode_step() function, denoting that the end of the UU encoded block has been found.

GMime.UUDECODE_STATE_INIT = 0

Initial state for the GMime.Encoding.uudecode_step() function.

GMime.UUDECODE_STATE_MASK = 0
GMime.YDECODE_STATE_BEGIN = 4096

State bit that denotes the yEnc filter has found the =ybegin line.

GMime.YDECODE_STATE_DECODE = 16384

State bit that denotes yEnc filter has begun decoding the actual yencoded content and will continue to do so until an =yend line is found (or until there is nothing left to decode).

GMime.YDECODE_STATE_END = 32768

State bit that denoates that GMime.ydecode_step() has finished decoding.

GMime.YDECODE_STATE_EOLN = 256

State bit that denotes the yEnc filter has reached an end-of-line.

This state is for internal use only.

GMime.YDECODE_STATE_ESCAPE = 512

State bit that denotes the yEnc filter has reached an escape sequence.

This state is for internal use only.

GMime.YDECODE_STATE_INIT = 0

Initial state for the GMime.ydecode_step() function.

GMime.YDECODE_STATE_PART = 8192

State bit that denotes the yEnc filter has found the =ypart line. (Note: not all yencoded blocks have one)

GMime.YENCODE_CRC_INIT = -1

Initial state for the crc and pcrc state variables.

GMime.YENCODE_STATE_INIT = 0

Initial state for the GMime.ydecode_step() function.