Header.formatDefault

Parses the value and then re-formats it to conform to the formatting options, folding the value if necessary.

class Header
string
formatDefault

Parameters

options gmime.format_options.FormatOptions

a #GMimeFormatOptions or null

value string

a header value

charset string

a charset to use when encoding the value

Return Value

Type: string

a newly allocated string containing the reformatted value.