Click or drag to resize
MimeKit

MimeEntityToString Method

Returns a String that represents the MimeEntity for debugging purposes.

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 2.14.0
Syntax
C#
public override string ToString()

Return Value

Type: String
A String that represents the MimeEntity for debugging purposes.
Remarks

Returns a String that represents the MimeEntity for debugging purposes.

Caution note Caution

In general, the string returned from this method SHOULD NOT be used for serializing the entity to disk. It is recommended that you use WriteTo(Stream, CancellationToken) instead.

If this method is used for serializing the entity to disk, the iso-8859-1 text encoding should be used for conversion.

See Also