Click or drag to resize
MimeKit

MimeUtils Class

MIME utility methods.
Inheritance Hierarchy
SystemObject
  MimeKit.UtilsMimeUtils

Namespace: MimeKit.Utils
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public static class MimeUtils

The MimeUtils type exposes the following members.

Methods
 NameDescription
Public methodStatic memberAppendQuoted Quote the specified text and append it into the string builder.
Public methodStatic memberEnumerateReferences(String) Enumerate the Message-Id references such as those that can be found in the In-Reply-To or References headers.
Public methodStatic memberEnumerateReferences(Byte, Int32, Int32) Enumerate the Message-Id references such as those that can be found in the In-Reply-To or References headers.
Public methodStatic memberGenerateMessageId Generate a Message-Id or Content-Id.
Public methodStatic memberGenerateMessageId(String) Generate a Message-Id or Content-Id.
Public methodStatic memberParseMessageId(String) Parse a Message-Id or Content-Id header value.
Public methodStatic memberParseMessageId(Byte, Int32, Int32) Parse a Message-Id or Content-Id header value.
Public methodStatic memberQuote(ReadOnlySpanChar) Quote the specified text.
Public methodStatic memberQuote(String) Quote the specified text.
Public methodStatic memberTryParse(String, ContentEncoding) Try to parse the value of a Content-Transfer-Encoding header.
Public methodStatic memberTryParse(String, Version) Try to parse a version from a header such as Mime-Version.
Public methodStatic memberTryParse(Byte, Int32, Int32, Version) Try to parse a version from a header such as Mime-Version.
Public methodStatic memberUnquote Unquote the specified text.
Top
Fields
 NameDescription
Public fieldStatic memberOrdinalIgnoreCase A string comparer that performs a case-insensitive ordinal string comparison.
Top
Remarks
Various utility methods that don't belong anywhere else.
See Also