 | Rfc2047EncodeText(Encoding, String) Method |
Encode unstructured text.
Namespace: MimeKit.UtilsAssembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntaxpublic static byte[] EncodeText(
Encoding charset,
string text
)
Parameters
- 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.
See Also