FilterFrom


Description:

[ CCode ( has_construct_function = false , type = "GMimeFilter*" ) ]
public FilterFrom (FilterFromMode mode)

Creates a new GMimeFilterFrom filter.

If mode is ARMOR, the from-filter will encode from lines using the quoted-printable encoding resulting in "=46rom ". Using the DEFAULT or 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 FilterBasic filter with an encoding of QUOTEDPRINTABLE.

Parameters:

mode

filter mode

Returns:

a new from filter with mode mode.