Indy 9
TIdSMTPRcpReplies
Hierarchy, Properties, Methods, See Also, Unit: IdSMTPServer
Repesents messages used in SMTP commands using recipient mail addresses.
TIdSMTPRcpReplies = class(TPersistent)
Unit
IdSMTPServer
Description
TIdSMTPRcpReplies is a TPersistent descendant that specifies properties and method need to implement a container for messages used in response to SMTP command verbs that involve recipient mail addresses. TIdSMTPRcpReplies publishes the AddressOkReply, AddressErrorReply, and AddressWillForwardReply properties that contain these messages values.

TIdSMTPRcpReplies is the type used to represent the TIdSMTPMessages.RcpReplies, and is used in the command event handlers for the SMTP MAIL and RCPT commands.


TIdSMTPRcpReplies.AddressErrorReply
TIdSMTPRcpReplies, See Also
Specifies the response message used when SMTP RCPT cannot accept or forward incoming mail.
property AddressErrorReply: string;
Description
AddressErrorReply is a String property that specifies the message used as a response to the SMTP RCPT command verb. AddressErrorReply is used in TIdSMTPServer.CommandRcpt to indicate to the client connection that the incoming mail cannot be selected for delivery to the local destination address, or cannot be forwarded to a remote address.

TIdSMTPRcpReplies.AddressOkReply
TIdSMTPRcpReplies, See Also
Specifies the response message used when SMTP RCPT accepts mail for local delivery.
property AddressOkReply: string;
Description
AddressOkReply is a String property that specifies the message used as a response to the SMTP RCPT command verb. AddressOkReply is used in TIdSMTPServer.CommandRcpt to indicate to the client connection that the incoming mail has been accepted for delivery to the local destination address.

TIdSMTPRcpReplies.AddressWillForwardReply
TIdSMTPRcpReplies, See Also
Specifies the response message used when SMTP RCPT will forward mail.
property AddressWillForwardReply: string;
Description
AddressWillForwardReply is a String property that specifies the message used as a response to the SMTP RCPT command verb. AddressWillForwardReply is used in TIdSMTPServer.CommandRcpt to indicate to the client connection that the incoming mail will be forwarded to the destination address.

TIdSMTPRcpReplies.Assign
TIdSMTPRcpReplies
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 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 TIdSMTPRcpReplies instance, and if so, copies the values of the AddressOkReply, AddressErrorReply, and AddressWillForwardReply properties.

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


TIdSMTPRcpReplies.Create
TIdSMTPRcpReplies, 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.