|
Indy 9
|
TIdSMTPGreeting = class(TPersistent)
property AuthFailed: string;
property EHLONotSupported: string;
property EHLOReply: TStrings;
EHLOReply is used in the TIdSMTPServer.CommandEHLO action handler when the command object contains parameter values.
The default values in EHLOReply are assigned in the Create constructor, and represent the SMTP service extensions availble in the default server implementation. For example:
250-localhost
250-AUTH LOGIN
250 HELPIf additional SMTP service extensions are added to the server implementation, their keywords should be added to the lines in EHLOReply.
property HelloReply: string;
property NoHello: string;
procedure Assign(Source: TPersistent); override;
Assign checks whether the Source parameter specifies another TIdSMTPGreeting instance, and if so, copies the values of the EHLONotSupported, HelloReply, NoHello, and EHLOReply properties.
If Source is not a TIdSMTPGreeting instance, Assign calls the inherited method, which assigns properties from any object that specifies how to copy using the AssignTo method.
constructor Create;
destructor Destroy; override;