Internet Direct (Indy)
Home
PreviousUpNext
TIdMessage.UseNowForDate Property

Indicates that the message uses the current date and time when sent.

Pascal
property UseNowForDate: Boolean;

UseNowForDate is a Boolean property that indicates the message should use the current date and time in the Date property when the message is sent to the server. 

Assigning a non-empty TDateTime value to the Date property in the message cause UseNowFOrDate to return False. 

The default value for UseNowForDate is ID_MSG_USENOWFORDATE

UseNowForDate is used in GenerateHeader to determine if the current date and time are assigned for the message Date when UseNowForDate contains true. 

When UseNowForDate contains False, the value in the Date property is used in the headers for the message. This usage is most common when loading previously transmitted messages for relay.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.