TSmtpCli.Abort
Jump to navigation
Jump to search
Definition
procedure Abort
- Inherited from TCustomSmtpClient
Description
Synchronous method to cancel any running transactions. Closes socket connection to the mail server as well. If any transaction is in progress event OnRequestDone triggers with winsock error 10054. If a connection is currently established event OnSessionClosed will be triggered as well.
Example
nothing yet
Best practices
nothing yet