menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MIMEParser - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    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

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved