Class MIMEParser
MIMEParser class is used to load MIME document.
Inheritance
System.Object
MIMEParser
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.MIME.Base.Implementation
Assembly: Syncfusion.MIME.Base.dll
Syntax
public class MIMEParser
Constructors
MIMEParser()
Default constructor.
Declaration
public MIMEParser()
MIMEParser(IMIMEDocument, Stream)
overloaded constructor.
Declaration
public MIMEParser(IMIMEDocument document, Stream stream)
Parameters
Type | Name | Description |
---|---|---|
IMIMEDocument | document | document to write to. |
System.IO.Stream | stream | stream to read from. |
MIMEParser(IMIMEDocument, String)
Initializes new object with defined reader and file to read.
Declaration
public MIMEParser(IMIMEDocument document, string filePath)
Parameters
Type | Name | Description |
---|---|---|
IMIMEDocument | document | |
System.String | filePath |
Fields
DEF_REGEX_MAIL
regex to find e-mail adress.
Declaration
public const string DEF_REGEX_MAIL = "[a-zA-Z0-9.]*[@][a-zA-Z0-9]+[.][a-zA-Z0-9.]+"
Field Value
Type |
---|
System.String |
Methods
Load()
Method to start reading document.
Declaration
public IMIMEDocument Load()
Returns
Type | Description |
---|---|
IMIMEDocument | Loaded document |