LumiSoft Mail Server User API
MimeUtils Class
Namespaces > LumiSoft.Net.Mime > MimeUtils
Provides mime related utility methods.
Syntax
C#Visual BasicManaged C++
public class MimeUtils
Public Class MimeUtils
public ref class MimeUtils
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
MimeUtilsNew()
Initializes a new instance of the MimeUtils class.
static memberContentDispositionToString(ContentDisposition_enum)
Converts ContentDisposition_enum to string. NOTE: Returns null for ContentDisposition_enum.NotSpecified.
static memberContentTransferEncodingToString(ContentTransferEncoding_enum)
Converts ContentTransferEncoding_enum to string. NOTE: Returns null for ContentTransferEncoding_enum.NotSpecified.
static memberCreateMessageID()
Creates Rfc 2822 3.6.4 message-id. Syntax: '<' id-left '@' id-right '>'.
static memberDateTimeToRfc2822(DateTime)
Converts date to rfc 2822 date time string.
static memberEncodeHeaderField(String)
Encodes header field with quoted-printable encoding, if value contains ANSI or UNICODE chars.
static memberEncodeWord(String)
Encodes specified header field word if needed.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
static memberFoldData(String)
Folds long data line to folded lines.
GetHashCode()
Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()
Gets the Type of the current instance.
(Inherited from Object.)
static memberMediaTypeToString(MediaType_enum)
Converts MediaType_enum to string. NOTE: Returns null for MediaType_enum.NotSpecified.
MemberwiseClone()
Creates a shallow copy of the current Object.
(Inherited from Object.)
static memberParseContentDisposition(String)
Parses ContentDisposition_enum from Content-Disposition: header field value.
static memberParseContentTransferEncoding(String)
Parses ContentTransferEncoding_enum from Content-Transfer-Encoding: header field value.
static memberParseDate(String)
Parses rfc 2822 datetime.
static memberParseHeaderField(String, Stream)
Parse header specified header field value. Use this method only if you need to get only one header field, otherwise use MimeParser.ParseHeaderField(string fieldName,string headers). This avoid parsing headers multiple times.
static memberParseHeaderField(String, String)
Parse header specified header field value.
static memberParseHeaderFiledParameter(String, String, String)
Parses header field parameter value. For example: CONTENT-TYPE: application\octet-stream; name="yourFileName.xxx", fieldName="CONTENT-TYPE:" and subFieldName="name".
static memberParseHeaders(Stream)
Parses headers from message or mime entry.
static memberParseMediaType(String)
Parses MediaType_enum from Content-Type: header field value.
ToString()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
MimeUtils

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)