Header.setValue

void setValue(gmime.format_options.FormatOptions options, string value, string charset = null)

Sets the header's decoded value.

Parameters

optionsa #GMimeFormatOptions or null
valuethe new header value
charseta charset