Click or drag to resize
MimeKit

MboxFromFilter Class

A filter that munges lines beginning with "From " by stuffing a '>' into the beginning of the line.
Inheritance Hierarchy
SystemObject
  MimeKit.IO.FiltersMimeFilterBase
    MimeKit.IO.FiltersMboxFromFilter

Namespace: MimeKit.IO.Filters
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public class MboxFromFilter : MimeFilterBase

The MboxFromFilter type exposes the following members.

Constructors
 NameDescription
Public methodMboxFromFilter Initialize a new instance of the MboxFromFilter class.
Top
Properties
 NameDescription
Protected propertyOutputBuffer Get the output buffer.
(Inherited from MimeFilterBase)
Top
Methods
 NameDescription
Protected methodEnsureOutputSize Ensure that the output buffer is greater than or equal to the specified size.
(Inherited from MimeFilterBase)
Public methodEquals
(Inherited from Object)
Public methodFilter(Byte, Int32, Int32, Int32, Int32) Filter the specified input.
(Inherited from MimeFilterBase)
Protected methodFilter(Byte, Int32, Int32, Int32, Int32, Boolean) Filter the specified input.
(Overrides MimeFilterBaseFilter(Byte, Int32, Int32, Int32, Int32, Boolean))
Protected methodFinalize
(Inherited from Object)
Public methodFlush Filter the specified input, flushing all internally buffered data to the output.
(Inherited from MimeFilterBase)
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Protected methodMemberwiseClone
(Inherited from Object)
Public methodReset Reset the filter.
(Overrides MimeFilterBaseReset)
Protected methodSaveRemainingInput Save the remaining input for the next round of processing.
(Inherited from MimeFilterBase)
Public methodToString
(Inherited from Object)
Top
Remarks

Munging Mbox-style "From "-lines is a workaround to prevent Mbox parsers from misinterpreting a line beginning with "From " as an mbox marker delineating messages. This munging is non-reversable but is necessary to properly format a message for saving to an Mbox file.

See Also