## gmime-filter-from

gmime-filter-from —

## Synopsis

    struct      GMimeFilterFrom;
    enum        GMimeFilterFromMode;
    GMimeFilter* g_mime_filter_from_new         (GMimeFilterFromMode mode);

## Object Hierarchy

      GObject
       +----GMimeFilter
             +----GMimeFilterFrom

## Description

## Details

### struct GMimeFilterFrom

    struct GMimeFilterFrom;

### enum GMimeFilterFromMode

    typedef enum {
    	GMIME_FILTER_FROM_MODE_DEFAULT  = 0,
    	GMIME_FILTER_FROM_MODE_ESCAPE   = 0,
    	GMIME_FILTER_FROM_MODE_ARMOR    = 1
    } GMimeFilterFromMode;

### g_mime_filter_from_new ()

    GMimeFilter* g_mime_filter_from_new         (GMimeFilterFromMode mode);

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 mode GMIME_FILTER_BASIC_QP_ENC.

`mode` : | filter mode
Returns : | a new from filter with mode `mode`.