TSmtpCli.Abort

From Overbyte
Jump to navigation Jump to search

Main page -> ICS component reference -> TSmtpCli -> Abort

Definition

procedure TSmtpCli.Abort

  • Inherited from TCustomSmtpClient.Abort

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