FilterFrom.this

Creates a new GMimeFilterFrom filter. If mode is #GMIME_FILTER_FROM_MODE_ARMOR, the from-filter will encode from lines using the quoted-printable encoding resulting in "=46rom ". Using the #GMIME_FILTER_FROM_MODE_DEFAULT or #GMIME_FILTER_FROM_MODE_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 #GMimeFilterBasic filter with an encoding of #GMIME_CONTENT_ENCODING_QUOTEDPRINTABLE.

  1. this(void* ptr, Flag!"Take" take)
  2. this(gmime.types.FilterFromMode mode)
    class FilterFrom

Parameters

mode gmime.types.FilterFromMode

filter mode

Return Value

a new from filter with mode mode.