EnvelopeToString Method

Returns a String that represents the current Envelope.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public override string ToString()

Return Value

String
A String that represents the current Envelope.

Remarks

The returned string can be parsed by TryParse(String, Envelope).

  Caution

The syntax of the string returned, while similar to IMAP's ENVELOPE syntax, is not completely compatible.

See Also