GMime.FilterFrom¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
midline |
r |
|
|
mode |
r |
||
parent_object |
r |
parent |
Class Details¶
- class GMime.FilterFrom(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A filter for armoring or escaping lines beginning with “From “.
- classmethod new(mode)¶
- Parameters:
mode (
GMime.FilterFromMode
) – filter mode- Returns:
a new from filter with mode mode.
- Return type:
Creates a new
GMime.FilterFrom
filter. If mode isGMime.FilterFromMode.ARMOR
, the from-filter will encode from lines using the quoted-printable encoding resulting in “=46rom “. Using theGMime.FilterFromMode.DEFAULT
orGMime.FilterFromMode.ESCAPE
mode (they are the same), from lines will be escaped to “>From “.Note: If you plan on using a from-filter in mode ARMOR, you should remember to also use a
GMime.FilterBasic
filter with an encoding ofGMime.ContentEncoding.QUOTEDPRINTABLE
.