utils_header_encode_text


Description:


public string utils_header_encode_text (FormatOptions? options, string text, string? charset)

Encodes a 'text' header according to the rules in rfc2047.

Parameters:

options

a FormatOptions or null

text

text to encode

charset

the charset to use or null to use the default

Returns:

the encoded header. Useful for encoding headers like "Subject".


Namespace: GMime
Package: gmime-3.0