src/MailMap/MailFactory.php
protected static function decode($body, $encoding)
    {
        if (ENCQUOTEDPRINTABLE === $encoding) {
            return quoted_printable_decode($body);
        }

        if (ENCBASE64 === $encoding) {
            return base64_decode($body);
        }

        return $body;
    }
protected static function decode($body, $encoding)
    {
        if (ENCQUOTEDPRINTABLE === $encoding) {
            return quoted_printable_decode($body);
        }

        if (ENCBASE64 === $encoding) {
            return base64_decode($body);
        }

        return $body;
    }
protected static function decode ( $ body , $ encoding ) { if ( ENCQUOTEDPRINTABLE === $ encoding ) { return quoted_printable_decode ( $ body ) ; } if ( ENCBASE64 === $ encoding ) { return base64_decode ( $ body ) ; } return $ body ; }
Decode the body text

@param  string $body
@param  int $encoding
@return string
Decode the body text