C# Class OpenPOP.MIME.Header.HeaderExtractor

Mostrar archivo Open project: jaddie/WCell-Utility-Bot

Public Methods

Method Description
ExtractHeaders ( string message, string &rawHeaders, NameValueCollection &headers ) : void

Method that takes a full message and extract the headers from it.

Private Methods

Method Description
IsMoreLinesInHeaderValue ( TextReader reader ) : bool

Check if the next line is part of the current header value we are parsing by peeking on the next character of the TextReader. This should only be called while parsing headers

Method Details

ExtractHeaders() public static method

Method that takes a full message and extract the headers from it.
public static ExtractHeaders ( string message, string &rawHeaders, NameValueCollection &headers ) : void
message string The message to extract headers from
rawHeaders string The portion of the message that was headers
headers System.Collections.Specialized.NameValueCollection A collection of Name and Value pairs of headers
return void