Click or drag to resize
MimeKit

Received(String, IPAddress, String, IPAddress, DateTimeOffset) Constructor

Initializes a new instance of the Received class.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.17.0
Syntax
C#
public Received(
	string from,
	IPAddress fromTcpInfo,
	string by,
	IPAddress byTcpInfo,
	DateTimeOffset dateTime
)

Parameters

from  String
The name of the source host.
fromTcpInfo  IPAddress
The IP address of the source host.
by  String
The name of the receiving host.
byTcpInfo  IPAddress
The IP address of the receiving host.
dateTime  DateTimeOffset
The date and time the message was received.
Exceptions
ExceptionCondition
ArgumentNullExceptionfrom is .

-or-

fromTcpInfo is .

-or-

by is .

-or-

byTcpInfo is .
ArgumentExceptionfrom is not a valid domain name or address literal.

-or-

by is not a valid domain name or address literal.
Remarks
Creates a new Received instance with the specified source and receiving host information, along with the date and time the message was received.
See Also