Click or drag to resize
MimeKit

ReceivedClauseId Enumeration

An enumeration of common Received header clauses.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.17.0
Syntax
C#
public enum ReceivedClauseId
Members
Member nameValueDescription
None0 Represents any comments that appear before the first keyword in the Received header value.
From1 Represents the "from" clause which identifies the name of the sending host.
By2 Represents the "by" clause which identifies the name of the receiving host.
Via3 Represents the "via" clause which identifies the physical link or protocol used.
With4 Represents the "with" clause which identifies the mail protocol used (e.g., SMTP, ESMTP, etc.).
Id5 Represents the "id" clause which identifies a unique identifier for the message.
For6 Represents the "for" clause which identifies the recipient address.
Unknown7 Represents an unknown clause which could not be identified.
Remarks

A typical Received header contains several clauses that provide information about the message transfer, including:

  • from - the name of the sending host
  • by - the name of the receiving host
  • via - the physical link or protocol used
  • with - the mail protocol used (e.g., SMTP, ESMTP, etc.)
  • id - a unique identifier for the message
  • for - the recipient address

For more information, see section 4.4 of RFC 5321.

See Also