Header.formatAddrlist

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

class Header
string
formatAddrlist

Parameters

options gmime.format_options.FormatOptions

a #GMimeFormatOptions or null

value string

a Sender, From, Reply-To, To, Cc, or Bcc header value

charset string

a charset (note: unused)

Return Value

Type: string

a newly allocated string containing the reformatted value.