Indy 9
TIdSMTPDataReplies
Hierarchy, Properties, Methods, See Also, Unit: IdSMTPServer
Implements replies for the SMTP DATA command.
TIdSMTPDataReplies = class(TPersistent)
Unit
IdSMTPServer
Description
TIdSMTPDataReplies is a TPersistent descendant that implements properties and methods needed to specify messages sent when the SMTP server performs the DATA command verb in the OnReceiveMessage event handler.

TIdSMTPDataReplies is the type used to represent the TIdSMTPMessages.DataReplies property.


TIdSMTPDataReplies.EndDataReply
TIdSMTPDataReplies, See Also
Specifies the message sent after receiving incoming mail data.
property EndDataReply: string;
Description
EndDataReply is a String property that specifies the message sent by an SMTP server after the SMTP DATA command verb has been executed.

EndDataReply is used by the TIdSMTPServer.CommandData action handler after StartDataReply is written to the client connection, and after handling incoming mail data in the TIdSMTPServer.OnReceiveMessage event handler.


TIdSMTPDataReplies.StartDataReply
TIdSMTPDataReplies, See Also
Specifies the message sent before receiving incoming mail data.
property StartDataReply: string;
Description
StartDataReply is a String property that specifies the message sent by an SMTP server when it is ready to receive incoming mail data.

StartDataReply is used by the TIdSMTPServer.CommandData action handler to notify the client connection that the Server is ready to receive incoming mail data.


TIdSMTPDataReplies.Assign
TIdSMTPDataReplies
Copies the properties of one Object instance to another.
procedure Assign(Source: TPersistent); override;
Parameters
Source: TPersistent
Object instance containing values to be copied.
Description
Assign is an overridden procedure in TIdSMTPDataReplies that copies the property values in Source to the current object instance. Assign calls the inherited Assign method.

Assign checks whether the Source parameter specifies another TIdSMTPDataReplies instance, and if so, copies the values of the StartDataReply and EndDataReply properties.

If Source is not a TIdSMTPDataReplies instance, Assign calls the inherited method, which assigns properties from any object that specifies how to copy using the AssignTo method.


TIdSMTPDataReplies.Create
TIdSMTPDataReplies, See Also
Constructor for the object instance.
constructor Create;
Description
Create is the constructor for the object instance. Create calls the inherited Create method, and assigns the default constant values for the following properties:


Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.