MimeWriter members
The MimeWriter class writes MIME to a stream.
The MimeWriter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MimeWriter(Stream) | The MimeWriter constructor creates a new MimeWriter object that will write MIME data to data. | |
MimeWriter(Stream, Boolean, EncodingOptions) | The MimeWriter constructor creates a new MimeWriter object. |
Top
Properties
Name | Description | |
---|---|---|
EmbeddedDepth | The EmbeddedDepth property gets an integer representing how deeply the current message is embedded. | |
EncodingOptions | The EncodingOptions property gets a EncodingOptions class that controls how the MIME data is encoded as it is written. | |
PartBoundary | The PartBoundary property gets a string containing the part boundary for the current part. | |
PartDepth | The PartDepth property gets an integer indicating how deeply the current part being written is nested. | |
StreamOffset | The StreamOffset property gets an integer indicating the number of bytes written so far. |
Top
Methods
Name | Description | |
---|---|---|
Close | The Close method closes the stream to which this MimeWriter object writes. | |
Dispose() | Releases all resources used by the MimeWriter. | |
Dispose(Boolean) | Releases the unmanaged resources used by the MimeWriter and optionally releases the managed resources. | |
EndContent | The EndContent method closes the stream to which this MimeWriter writes. | |
EndGroup | The EndGroup method ends the current group so that other recipients will be added outside of the current group. | |
EndPart | The EndPart method ends the current part. | |
Flush | The Flush method flushes the data in this Flush object to the underlying stream. | |
GetContentWriteStream | The GetContentWriteStream method returns a stream to which you can write the content of the current part using the current value of Content-Transfer-Encoding header. | |
GetEmbeddedMessageWriter | The GetEmbeddedMessageWriter method returns a MimeWriter object that can be used to write an embedded message. | |
GetRawContentWriteStream | The GetRawContentWriteStream method returns a stream to which you can write content to the current part without applying a content transfer encoding. | |
StartGroup | The StartGroup method starts an e-mail group. | |
StartHeader(String) | The StartHeader method starts a header using the name supplied by the name parameter. | |
StartHeader(HeaderId) | The StartHeader method starts a header using the header ID value in the headerID parameter. | |
StartPart | The StartPart method begins a new MIME part. | |
WriteAddress | The WriteAddress method writes an address from the MimeAddressReader specified by the reader parameter. | |
WriteContent(Stream) | The WriteContent method writes content from a source Stream to the stream that this MimeWriter object owns. | |
WriteContent(MimeReader) | The WriteContent method writes content from a MimeReader object to the stream that this MimeWriter object owns. | |
WriteContent([], Int32, Int32) | The WriteContent method writes data from a buffer into the stream that this MimeWriter object owns. | |
WriteHeader(MimeHeaderReader) | The WriteHeader method writes the next header from a MimeReader object into the stream that this MimeWriter object owns. | |
WriteHeader(String, String) | The WriteHeader method writes a header of a specified type and specified value to the stream that this MimeWriter object owns. | |
WriteHeader(HeaderId, String) | The WriteHeader method writes a header of a specified type and specified value to the stream that this MimeWriter object owns. | |
WriteHeaderValue(DateTime) | The WriteHeaderValue method writes a Date-Time value to the current header. | |
WriteHeaderValue(String) | The WriteHeaderValue method writes a value specified by a string to the stream that this MimeWriter object owns. | |
WriteParameter(MimeParameterReader) | The WriteParameter method writes a parameter to the current header in the stream that this MimeWriter object owns. | |
WriteParameter(String, String) | The WriteParameter method writes a parameter to the current header in the stream that this MimeWriter object owns. | |
WritePart | The WritePart method writes a part to the stream that this MimeWriter object owns. | |
WriteRawContent(Stream) | The WriteRawContent method writes content from a source stream to the stream that this MimeWriter object owns and does not apply an encoding to the content as it is written. | |
WriteRawContent([], Int32, Int32) | The WriteRawContent method writes content from a byte array to the stream that this MimeWriter object owns and does not apply an encoding to the content as it is written. | |
WriteRecipient | The WriteRecipient method writes a recipient to the stream that this MimeWriter object owns. |
Top