Share via


ReceivedTime Property

Topic Last Modified: 2006-12-01

The date/time this message was delivered to the server. This property is read-only.

Applies To

IMessage Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

Property ReceivedTime As Date

HRESULT get_ReceivedTime(DATE* pVal);

Parameters

  • pVal
    Returns the value of the ReceivedTime property as a reference to a DATE.

Remarks

This property is also available as the datereceived Field.

The ReceivedTime property is determined from the last entry for "Received:" in the SMTP headers.

The IMessage SentOn Property and the ReceivedTime property hold the date/time in the time zone specified in the associated Configuration object using the timezoneid Field. If the time zone is not set in the IConfiguration Fields Property collection, the date and time are held in the server's local time zone. If there is no server involved, the receiving user's local time zone is used.

If the ReceivedTime property could not be set from the headers, attempting to read it results in an error of CDO_E_PROP_NOT_FOUND.