| Rfc2047EncodeText(FormatOptions, Encoding, String) Method |
Encode unstructured text.
Namespace: MimeKit.UtilsAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax public static byte[] EncodeText(
FormatOptions options,
Encoding charset,
string text
)
Parameters
- options FormatOptions
- The formatting options
- charset Encoding
- The charset encoding.
- text String
- The text to encode.
Return Value
ByteThe encoded text.
Exceptions Remarks
Encodes the unstructured text according to the rules of rfc2047
using the specified charset encoding and formatting options.
See Also