MimeWriter Members
The MimeWriter class writes MIME to a stream.
The following tables list the members exposed by the MimeWriter type.
Public Constructors
Name | Description | |
---|---|---|
MimeWriter | Overloaded. The MimeWriter constructor overloads create new MimeWriter objects. |
Top
Public 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
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Close | The Close method closes the stream to which this MimeWriter object writes. | |
Dispose | Overloaded. Releases the resources used by the MimeWriter. | |
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. | |
Equals | Overloaded. (inherited from Object ) | |
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. | |
GetHashCode | (inherited from Object ) | |
GetRawContentWriteStream | The GetRawContentWriteStream method returns a stream to which you can write content to the current part without applying a content transfer encoding. | |
GetType | (inherited from Object ) | |
ReferenceEquals | (inherited from Object ) | |
StartGroup | The StartGroup method starts an e-mail group. | |
StartHeader | Overloaded. The StartHeader overloads mark the beginning of a header. | |
StartPart | The StartPart method begins a new MIME part. | |
ToString | (inherited from Object ) | |
WriteAddress | The WriteAddress method writes an address from the MimeAddressReader specified by the reader parameter. | |
WriteContent | Overloaded. The WriteContent overloads write MIME content to the stream MimeWriter owns. | |
WriteHeader | Overloaded. The WriteHeader overloads write headers to the stream that this MimeWriter object owns. | |
WriteHeaderValue | Overloaded. The WriteHeaderValue overloads write header values to this MimeWriter object owns. | |
WriteParameter | Overloaded. The WriteParameter overloads write parameters 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 | Overloaded. The WriteRawContent overloads write content to the stream that this MimeWriter object owns but 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
Protected Methods
Name | Description | |
---|---|---|
Dispose | Overloaded. | |
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) |
Top