C# 클래스 MailKit.Envelope

A message envelope containing a brief summary of the message.
The envelope of a message contains information such as the date the message was sent, the subject of the message, the sender of the message, who the message was sent to, which message(s) the message may be in reply to, and the message id.
파일 보기 프로젝트 열기: jstedfast/MailKit 1 사용 예제들

공개 메소드들

메소드 설명
Envelope ( ) : System

Initializes a new instance of the MailKit.Envelope class.

Creates a new Envelope.

ToString ( ) : string

Returns a System.String that represents the current MailKit.Envelope.

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

The syntax of the string returned, while similar to IMAP's ENVELOPE syntax, is not completely compatible.
TryParse ( string text, Envelope &envelope ) : bool

Tries to parse the given text into a new MailKit.Envelope instance.

Parses an Envelope value from the specified text.

This syntax, while similar to IMAP's ENVELOPE syntax, is not completely compatible.

비공개 메소드들

메소드 설명
Encode ( StringBuilder builder ) : void
EncodeAddressList ( StringBuilder builder, InternetAddressList list ) : void
EncodeMailbox ( StringBuilder builder, MimeKit.MailboxAddress mailbox ) : void
TryParse ( string text, int &index, Envelope &envelope ) : bool
TryParse ( string text, int &index, InternetAddressList &list ) : bool
TryParse ( string text, int &index, MimeKit.MailboxAddress &mailbox ) : bool
TryParse ( string text, int &index, string &nstring ) : bool

메소드 상세

Envelope() 공개 메소드

Initializes a new instance of the MailKit.Envelope class.
Creates a new Envelope.
public Envelope ( ) : System
리턴 System

ToString() 공개 메소드

Returns a System.String that represents the current MailKit.Envelope.

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

The syntax of the string returned, while similar to IMAP's ENVELOPE syntax, is not completely compatible.
public ToString ( ) : string
리턴 string

TryParse() 공개 정적인 메소드

Tries to parse the given text into a new MailKit.Envelope instance.

Parses an Envelope value from the specified text.

This syntax, while similar to IMAP's ENVELOPE syntax, is not completely compatible.
/// is null. ///
public static TryParse ( string text, Envelope &envelope ) : bool
text string The text to parse.
envelope Envelope The parsed envelope.
리턴 bool