headers like "Subject".
utilsHeaderEncodeText
fn
string utilsHeaderEncodeText(gmime.format_options.FormatOptions options, string text, string charset = null)Encodes a 'text' header according to the rules in rfc2047.
Parameters
options | a #GMimeFormatOptions or null |
text | text to encode |
charset | the charset to use or null to use the default |
Returns
the encoded header. Useful for encoding