utilsStructuredHeaderFold

fnstring utilsStructuredHeaderFold(gmime.parser_options.ParserOptions options, gmime.format_options.FormatOptions format, string header)

Folds a structured header according to the rules in rfc822.

Parameters

optionsa #GMimeParserOptions or null
formata #GMimeFormatOptions or null
headerheader field and value string

Returns

an allocated string containing the folded header.