Received Class |
public class Received
The Received type exposes the following members.
| Name | Description | |
|---|---|---|
| Received | Initializes a new instance of the Received class. | |
| Received(String, IPAddress, String, IPAddress, DateTimeOffset) | Initializes a new instance of the Received class. |
| Name | Description | |
|---|---|---|
| By | Get or set the name of the receiving host. | |
| ByTcpInfo | Get or set the TCP connection information for the receiving host. | |
| Clauses | Get the collection of clauses that make up the Received header. | |
| DateTime | Get or set the date and time when the message was received. | |
| For | Get or set the recipient address for which the message was received. | |
| From | Get or set the name of the source host. | |
| FromTcpInfo | Get or set the TCP connection information for the source host. | |
| Id | Get or set the message identifier. | |
| Via | Get or set the physical link or protocol used to receive the message. | |
| With | Get or set the protocol or mechanism used to receive the message. |
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object) | |
| Finalize | (Inherited from Object) | |
| GetHashCode | (Inherited from Object) | |
| GetType | (Inherited from Object) | |
| MemberwiseClone | (Inherited from Object) | |
| Parse(Byte) | Parse the specified input buffer into a new Received instance. | |
| Parse(ParserOptions, Byte) | Parse the specified input buffer into a new Received instance. | |
| Parse(Byte, Int32, Int32) | Parse the specified input buffer into a new Received instance. | |
| Parse(ParserOptions, Byte, Int32, Int32) | Parse the specified input buffer into a new Received instance. | |
| ToString |
Serializes the Received value to a string.
(Overrides ObjectToString) | |
| ToString(FormatOptions) | Serializes the Received value to a string. | |
| TryParse(Byte, Received) | Try to parse the given input buffer into a new Received instance. | |
| TryParse(ParserOptions, Byte, Received) | Try to parse the given input buffer into a new Received instance. | |
| TryParse(Byte, Int32, Int32, Received) | Try to parse the given input buffer into a new Received instance. | |
| TryParse(ParserOptions, Byte, Int32, Int32, Received) | Try to parse the given input buffer into a new Received instance. |
The Received header is used for tracing the path a message has taken through various SMTP servers as it is transmitted from sender to recipient. Each SMTP server that handles the message adds a new Received header to the top of the message, creating a chronological trace of the message's journey through the email infrastructure.
A typical Received header contains several clauses that provide information about the message transfer, including:
For more information, see section 4.4 of RFC 5321.