Header.formatAddrlist

string formatAddrlist(gmime.format_options.FormatOptions options, string value, string charset)

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

Parameters

optionsa #GMimeFormatOptions or null
valuea Sender, From, Reply-To, To, Cc, or Bcc header value
charseta charset (note: unused)

Returns

a newly allocated string containing the reformatted value.