function SendCmd(const Command: string; const AllowedResponses: array of integer): integer;



The SendCmd method sends SMTP command specified in the Command parameter to an SMTP server.

You can specify a list of available response codes in the AllowedResponses parameter. If a server returns a response code not included in this list, the method will generate a corresponding exception.

The response code received during execution of this command request is contained in the ReplyCode property.


See Also



SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support