Rfc 2047Encode Phrase(Encoding, String) Method
Encode a phrase.
Definition
Namespace: MimeKit.Utils
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The encoded phrase.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public static byte[] EncodePhrase(
Encoding charset,
string phrase
)Parameters
Return Value
ByteThe encoded phrase.
Remarks
Encodes the phrase according to the rules of rfc2047 using
the specified charset encoding.
Exceptions
| ArgumentNullException |
charset is . -or- phrase is . |