Click or drag to resize
MimeKit

InternetAddressToString Method (Boolean)

Returns a string representation of the InternetAddress, optionally encoding it for transport.

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 2.3.0
Syntax
C#
public string ToString(
	bool encode
)

Parameters

encode
Type: SystemBoolean
If set to true, the InternetAddress will be encoded.

Return Value

Type: String
A string representing the InternetAddress.
Remarks

If the encode parameter is true, then this method will return an encoded version of the internet address according to the rules described in rfc2047.

However, if the encode parameter is false, then this method will return a string suitable only for display purposes.

See Also